aboutsummaryrefslogtreecommitdiff
path: root/Source/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Main.cpp')
-rw-r--r--Source/Main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Main.cpp b/Source/Main.cpp
index 3eb8803..153e503 100644
--- a/Source/Main.cpp
+++ b/Source/Main.cpp
@@ -14,12 +14,12 @@ Game game;
/********************> main() <*****/
-void main( void )
+int main( int argc, char *argv[] )
{
-
+#ifdef MAC
ToolboxInit();
@@ -27,7 +27,7 @@ void main( void )
if ( HasAppearance() )
RegisterAppearanceClient();
-
+#endif
@@ -47,7 +47,7 @@ void main( void )
game.Dispose();
-
+#ifdef MAC
if ( HasAppearance() )
UnregisterAppearanceClient();
@@ -57,7 +57,7 @@ void main( void )
FlushEvents( everyEvent, 0 );
ExitToShell();
-
+#endif
}