This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate mainline.
[perl5.git] / win32 / runperl.c
index 9544607..85fd831 100644 (file)
@@ -1,9 +1,7 @@
-/* Say NO to CPP! Hallelujah! */
+#include "EXTERN.h"
+#include "perl.h"
+
 #ifdef __GNUC__
-/*
- * GNU C does not do __declspec()
- */
-#define __declspec(foo) 
 
 /* Mingw32 defaults to globing command line 
  * This is inconsistent with other Win32 ports and 
@@ -14,11 +12,10 @@ int _CRT_glob = 0;
 
 #endif
 
-
-__declspec(dllimport) int RunPerl(int argc, char **argv, char **env, void *ios);
-
 int
 main(int argc, char **argv, char **env)
 {
-    return RunPerl(argc, argv, env, (void*)0);
+    return RunPerl(argc, argv, env);
 }
+
+