(MSVC 2003) Compile griffin.c as C code

This commit is contained in:
twinaphex 2017-12-31 03:16:08 +01:00
parent be5ebbc039
commit 88cac16409
2 changed files with 9 additions and 8 deletions

View File

@ -762,11 +762,12 @@ bool win32_window_create(void *data, unsigned style,
if (!main_window.hwnd)
return false;
ZeroMemory( &notification_filter, sizeof(notification_filter) );
notification_filter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
ZeroMemory(&notification_filter, sizeof(notification_filter) );
notification_filter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
notification_filter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
notification_filter.dbcc_classguid = GUID_DEVINTERFACE_HID;
notification_handler = RegisterDeviceNotification(main_window.hwnd, &notification_filter, DEVICE_NOTIFY_WINDOW_HANDLE);
notification_filter.dbcc_classguid = GUID_DEVINTERFACE_HID;
notification_handler = RegisterDeviceNotification(
main_window.hwnd, &notification_filter, DEVICE_NOTIFY_WINDOW_HANDLE);
if (notification_handler)
RARCH_ERR("Error registering for notifications\n");

View File

@ -221,25 +221,25 @@
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
CompileAs="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
CompileAs="1"/>
</FileConfiguration>
<FileConfiguration
Name="Release NoDX|Win32">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
CompileAs="1"/>
</FileConfiguration>
<FileConfiguration
Name="Debug NoDX|Win32">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
CompileAs="1"/>
</FileConfiguration>
</File>
<File