]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - winquake.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / winquake.h
index 6849014ea993cca265fe3895ba165ea5627c0511..72e0652ff7a256d4de81e6ebe61008d5bafdcd76 100644 (file)
@@ -19,7 +19,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // winquake.h: Win32-specific Quake header file
 
-#pragma warning( disable : 4229 )  // mgraph gets this
+#ifndef WINQUAKE_H
+#define WINQUAKE_H
 
 #include <windows.h>
 
@@ -46,7 +47,6 @@ extern LPDIRECTSOUND pDS;
 extern LPDIRECTSOUNDBUFFER pDSBuf;
 
 extern DWORD gSndBufSize;
-//#define SNDBUFSIZE 65536
 
 void   VID_LockBuffer (void);
 void   VID_UnlockBuffer (void);
@@ -101,3 +101,6 @@ struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
                                                                                                  int len, int type);
 int (PASCAL FAR *pgetsockname)(SOCKET s, struct sockaddr FAR *name,
                                                           int FAR * namelen);
+
+#endif
+