A few quick hacks to get the Squirrel debugger sqdbg to compile on Linux
[supertux.git] / external / squirrel / sqdbg / sqrdbg.h
index c3cc568..71585a2 100755 (executable)
@@ -4,7 +4,9 @@
 #ifdef __cplusplus\r
 extern "C" {\r
 #endif\r
+#ifdef _WIN32\r
 #pragma comment(lib, "WSOCK32.LIB")\r
+#endif\r
 \r
 struct SQDbgServer;\r
 typedef SQDbgServer* HSQREMOTEDBG;\r
@@ -18,4 +20,4 @@ SQRESULT sq_rdbg_update(HSQREMOTEDBG rdbg);
 } /*extern "C"*/\r
 #endif\r
 \r
-#endif //_SQ_RDBG_H_
\ No newline at end of file
+#endif //_SQ_RDBG_H_\r