* Add SoundTask to makefile (no modifications required).
[matthijs/ABM2.git] / ABM2 / Engine / InputTask.cpp
index 82d513e6cfdb542d31be0685b21ef0533152ddb0..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
@@ -88,3 +91,4 @@ void CInputTask::Stop()
        memset(keys, 0, 256);\r
        memset(oldKeys, 0, 256);\r
 }\r
+#endif // WIN32\r