]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/misc_def.h
uncrustify! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / include / misc_def.h
index 526dd6c96c88527d27cb64785079f2d2fe6f516a..90576add389eacc34f88a63571180ec734a3ba87 100644 (file)
@@ -10,20 +10,20 @@ typedef void* LPVOID;
 typedef char* LPCSTR;
 typedef char* LPSTR;
 
-#define IsEqualGUID(a,b) (memcmp(&a,&b,sizeof(a)) == 0)
+#define IsEqualGUID( a,b ) ( memcmp( &a,&b,sizeof( a ) ) == 0 )
 
 #ifndef GUID_DEFINED
 #define GUID_DEFINED
 typedef struct _GUID
 {
-  unsigned long  Data1;
-  unsigned short Data2;
-  unsigned short Data3;
-  unsigned char  Data4[8];
+       unsigned long Data1;
+       unsigned short Data2;
+       unsigned short Data3;
+       unsigned char Data4[8];
 } GUID;
 #endif
-#if defined(__cplusplus)
+
+#if defined( __cplusplus )
 #ifndef _REFGUID_DEFINED
 #define _REFGUID_DEFINED
 #define REFGUID const GUID &
@@ -61,6 +61,6 @@ typedef struct _GUID
 #define IDRETRY             4
 #define IDIGNORE            5
 #define IDYES               6
-#define IDNO                7 
+#define IDNO                7
 
 #endif