diff --git a/oa.vcproj b/oa.vcproj
index 309928f..5423215 100644
--- a/oa.vcproj
+++ b/oa.vcproj
@@ -236,6 +236,14 @@
RelativePath=".\src\macosx.cpp"
>
+
+
+
+
@@ -309,14 +317,6 @@
RelativePath=".\src\datatypes.h"
>
-
-
-
-
@@ -345,6 +345,10 @@
RelativePath=".\src\main.h"
>
+
+
@@ -365,10 +369,6 @@
RelativePath=".\src\NullVideoPlugin.h"
>
-
-
diff --git a/src/main.cpp b/src/main.cpp
index 4187185..1a4b04a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,3 +1,4 @@
+#if defined __APPLE__
#include
#include
#include
@@ -7,4 +8,6 @@ OSStatus main(int argc, char** argv)
{
}
-*/
\ No newline at end of file
+*/
+
+#endif
\ No newline at end of file