Forráskód Böngészése

Include missing WinMain.cp library, and modify library build batch file.

k_john_gough_cp 14 éve
szülő
commit
ffb1921e29
2 módosított fájl, 16 hozzáadás és 0 törlés
  1. 1 0
      libs/cpascal/MakeAll.bat
  2. 15 0
      libs/cpascal/WinMain.cp

+ 1 - 0
libs/cpascal/MakeAll.bat

@@ -8,6 +8,7 @@ gpcp /special GPTextFiles.cp
 gpcp /special ProgArgs.cp
 gpcp /special RTS.cp
 gpcp /special StdIn.cp
+gpcp /special WinMain.cp
 gpcp RealStr.cp
 gpcp StringLib.cp
 Browse /html /sort ASCII.cps

+ 15 - 0
libs/cpascal/WinMain.cp

@@ -0,0 +1,15 @@
+(* 
+ *  Library module for GP Component Pascal.
+ *  This module name is "magic" in the sense that its name is known
+ *  to the compiler. If it is imported, the module will be compiled
+ *  so that its body is named "WinMain" with no arglist. 
+ *
+ *  Original : kjg CPmain November 1998
+ *  Modified : kjg WinMain February 2004
+ *
+ *  This is a dummy module, it exists only to cause the 
+ *  generation of a corresponding symbol file: WinMain.cps
+ *  when compiled with the -special flag.
+ *)
+SYSTEM MODULE WinMain;
+END WinMain.