- fix compilation with define EXPERIMENTAL_WIFI (winsock2)
This commit is contained in:
mtabachenko 2008-12-24 01:37:18 +00:00
parent 693df94cb6
commit ae56e34cc5
20 changed files with 20 additions and 19 deletions

View File

@ -28,6 +28,7 @@
#include "types.h" #include "types.h"
#ifdef WIN32 #ifdef WIN32
#define _WINSOCKAPI_
#include <windows.h> #include <windows.h>
#define CLASSNAME "DeSmuME" #define CLASSNAME "DeSmuME"

View File

@ -19,7 +19,7 @@
*/ */
#include <windows.h> #include "../common.h"
#include "AboutBox.h" #include "AboutBox.h"
#include "resource.h" #include "resource.h"

View File

@ -22,7 +22,7 @@
#ifndef CWINDOW_H #ifndef CWINDOW_H
#define CWINDOW_H #define CWINDOW_H
#include <windows.h> #include "../common.h"
class WINCLASS class WINCLASS
{ {

View File

@ -20,7 +20,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <windows.h> #include "../common.h"
#include <mmsystem.h> #include <mmsystem.h>
#include <COMMDLG.H> #include <COMMDLG.H>
#include <string.h> #include <string.h>
@ -31,7 +31,6 @@
#include "FirmConfig.h" #include "FirmConfig.h"
#include "../debug.h" #include "../debug.h"
#include "../common.h"
#include "../NDSSystem.h" #include "../NDSSystem.h"
static char nickname_buffer[11]; static char nickname_buffer[11];

View File

@ -21,7 +21,7 @@
#ifndef IO_REG_H #ifndef IO_REG_H
#define IO_REG_H #define IO_REG_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK IoregView_Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK IoregView_Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -1,4 +1,4 @@
#include <windows.h> #include "../common.h"
#include <stdio.h> #include <stdio.h>
#include "colorctrl.h" #include "colorctrl.h"

View File

@ -21,7 +21,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <windows.h> #include "../common.h"
#include <stdio.h> #include <stdio.h>
#include <fcntl.h> #include <fcntl.h>
#include <io.h> #include <io.h>

View File

@ -22,7 +22,7 @@
*/ */
#ifndef _CONSOLE_H_ #ifndef _CONSOLE_H_
#define _CONSOLE_H_ #define _CONSOLE_H_
#include <windows.h> #include "../common.h"
#include <stdio.h> #include <stdio.h>
#include "debug.h" #include "debug.h"

View File

@ -22,7 +22,7 @@
#ifndef DISVIEW_H #ifndef DISVIEW_H
#define DISVIEW_H #define DISVIEW_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK ViewDisasm_ARM7Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewDisasm_ARM7Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
extern LRESULT CALLBACK ViewDisasm_ARM7BoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); extern LRESULT CALLBACK ViewDisasm_ARM7BoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);

View File

@ -25,7 +25,7 @@
#define _INPUT_DX_ #define _INPUT_DX_
#define DIRECTINPUT_VERSION 0x0800 #define DIRECTINPUT_VERSION 0x0800
#include <windows.h> #include "../common.h"
#include "..\types.h" #include "..\types.h"
#include "directx\dinput.h" #include "directx\dinput.h"

View File

@ -20,7 +20,7 @@
#ifndef LIGHTVIEW_H #ifndef LIGHTVIEW_H
#define LIGHTVIEW_H #define LIGHTVIEW_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK ViewLightsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewLightsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -22,7 +22,7 @@
#ifndef MAPVIEW_H #ifndef MAPVIEW_H
#define MAPVIEW_H #define MAPVIEW_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK ViewMapsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewMapsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -20,7 +20,7 @@
#ifndef MATRIXVIEW_H #ifndef MATRIXVIEW_H
#define MATRIXVIEW_H #define MATRIXVIEW_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK ViewMatricesProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewMatricesProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -22,7 +22,7 @@
#ifndef MEM_VIEW_H #ifndef MEM_VIEW_H
#define MEM_VIEW_H #define MEM_VIEW_H
#include <windows.h> #include "../common.h"
extern BOOL CALLBACK ViewMem_ARM7Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewMem_ARM7Proc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
extern LRESULT CALLBACK ViewMem_ARM7BoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); extern LRESULT CALLBACK ViewMem_ARM7BoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);

View File

@ -22,7 +22,7 @@
#ifndef OAMVIEW_H #ifndef OAMVIEW_H
#define OAMVIEW_H #define OAMVIEW_H
#include <windows.h> #include "../common.h"
extern LRESULT CALLBACK ViewOAMBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); extern LRESULT CALLBACK ViewOAMBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
extern BOOL CALLBACK ViewOAMProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewOAMProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -1,5 +1,5 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include "../common.h"
#include <gl/gl.h> #include <gl/gl.h>
#include <gl/glext.h> #include <gl/glext.h>
#include "console.h" #include "console.h"

View File

@ -22,7 +22,7 @@
#ifndef PALVIEW_H #ifndef PALVIEW_H
#define PALVIEW_H #define PALVIEW_H
#include <windows.h> #include "../common.h"
#include <stdlib.h> #include <stdlib.h>
extern BOOL CALLBACK ViewPalProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); extern BOOL CALLBACK ViewPalProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@ -1,6 +1,7 @@
//THIS SPEED THROTTLE IS TAKEN FROM FCEUX. //THIS SPEED THROTTLE IS TAKEN FROM FCEUX.
//Copyright (C) 2002 Xodnizel //Copyright (C) 2002 Xodnizel
#include "../common.h"
#include "../types.h" #include "../types.h"
#include "../debug.h" #include "../debug.h"
#include "../console.h" #include "../console.h"

View File

@ -22,7 +22,7 @@
#ifndef TILEVIEW_H #ifndef TILEVIEW_H
#define TILEVIEW_H #define TILEVIEW_H
#include <windows.h> #include "../common.h"
#include <stdlib.h> #include <stdlib.h>
extern LRESULT CALLBACK TileViewBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); extern LRESULT CALLBACK TileViewBoxProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);

View File

@ -2,7 +2,7 @@
#define _WINDRIVER_H_ #define _WINDRIVER_H_
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include "../common.h"
#include "CWindow.h" #include "CWindow.h"
extern WINCLASS *MainWindow; extern WINCLASS *MainWindow;