Make win32_menu_loop extern "C"

This commit is contained in:
twinaphex 2015-01-17 06:08:22 +01:00
parent 5a5eceedea
commit 45d691c28e

View File

@ -17,23 +17,23 @@
#ifndef WIN32_COMMON_H__
#define WIN32_COMMON_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _XBOX
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "../../win32/resource.h"
#ifdef __cplusplus
extern "C" {
#endif
LRESULT win32_handle_keyboard_event(HWND hwnd, UINT message,
WPARAM wparam, LPARAM lparam);
LRESULT win32_menu_loop(HWND handle, WPARAM wparam);
#endif
#ifdef __cplusplus
}
#endif
LRESULT win32_menu_loop(HWND handle, WPARAM wparam);
#endif
#endif