projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Add #ifdef WIN32 to make main.cpp compile on linux.
[matthijs/ABM2.git]
/
ABM2
/
Engine
/
VideoUpdate.cpp
diff --git
a/ABM2/Engine/VideoUpdate.cpp
b/ABM2/Engine/VideoUpdate.cpp
index 8499568c1e00ebbe9964c9b89e06481f6f0c98ea..9ff6db9219e0c8ae4f0ef2a9db14ec5c9161ad1c 100755
(executable)
--- a/
ABM2/Engine/VideoUpdate.cpp
+++ b/
ABM2/Engine/VideoUpdate.cpp
@@
-7,6
+7,7
@@
#include "VideoUpdate.h"
\r
\r
// include the Direct3D Library file
\r
#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
#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
{
\r
// SDL_QuitSubSystem(SDL_INIT_VIDEO);
\r
}
\r
+#endif // WIN32
\r