about summary refs log tree commit diff
path: root/src/engine/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/system.h')
-rw-r--r--src/engine/system.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/engine/system.h b/src/engine/system.h
index 5c3fa394..a20277a3 100644
--- a/src/engine/system.h
+++ b/src/engine/system.h
@@ -302,8 +302,14 @@ void lock_wait(LOCK lock);
 void lock_release(LOCK lock);
 
 /**** Group: Timer ****/
+#ifdef __GNUC__
+/* if compiled with -pedantic-errors it will complain about long
+	not being a C90 thing.
+*/
+__extension__ typedef long long int64;
+#else
 typedef long long int64;
-
+#endif
 /*****
 	Function: time_get
 	
@@ -331,7 +337,7 @@ int64 time_freq();
 typedef int NETSOCKET;
 enum
 {
-	NETSOCKET_INVALID = -1,
+	NETSOCKET_INVALID = -1
 };
 
 typedef struct