* Add #ifdef WIN32 to make main.cpp compile on linux.
[matthijs/ABM2.git] / ABM2 / Engine / VideoUpdate.cpp
index 8499568c1e00ebbe9964c9b89e06481f6f0c98ea..9ff6db9219e0c8ae4f0ef2a9db14ec5c9161ad1c 100755 (executable)
@@ -7,6 +7,7 @@
 #include "VideoUpdate.h"\r
 \r
 // include the Direct3D Library file\r
+#ifdef WIN32\r
 #pragma comment (lib, "d3d9.lib")\r
 #pragma comment (lib, "d3dx9.lib")\r
 \r
@@ -113,3 +114,4 @@ void CVideoUpdate::Stop()
 {\r
 //     SDL_QuitSubSystem(SDL_INIT_VIDEO);\r
 }\r
+#endif // WIN32\r