* Add SoundTask to makefile (no modifications required).
[matthijs/ABM2.git] / ABM2 / Engine / InputTask.cpp
index ad9a4f06aa94fb4215dd227717a3b528b4837ddb..5fd261d151838afb7fa26a202be31a679e9e0e68 100755 (executable)
@@ -5,11 +5,13 @@
 #include "InputTask.h"\r
 #include "../main.h"\r
 \r
+#ifdef WIN32\r
 // include the DirectX Library files\r
 #pragma comment (lib, "dinput.lib")\r
 #pragma comment (lib, "dinput8.lib")\r
 #pragma comment (lib, "dxguid.lib")\r
 \r
+#endif WIN32\r
 \r
 //////////////////////////////////////////////////////////////////////\r
 // Construction/Destruction\r
@@ -25,6 +27,7 @@ int CInputTask::dY=0;
 unsigned int CInputTask::buttons=0;\r
 unsigned int CInputTask::oldButtons=0;\r
 \r
+#ifdef WIN32\r
 CInputTask::CInputTask()\r
 {\r
        din = NULL;\r
@@ -87,4 +90,5 @@ void CInputTask::Stop()
        //oldKeys=0;\r
        memset(keys, 0, 256);\r
        memset(oldKeys, 0, 256);\r
-}
\ No newline at end of file
+}\r
+#endif // WIN32\r