home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 April / PCO0499.ISO / filesbbs / os2 / apach134.arj / APACH134.ZIP / src / os / win32 / main_win32.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-26  |  542 b   |  17 lines

  1. /* main_win32.c - Apache executable stub file for Win32
  2.  * This file's purpose in life is to load, and call the
  3.  * "real" main function, apache_main(), located in ApacheCore.dll
  4.  *
  5.  * This was done because having the main() function in a DLL,
  6.  * although Win32 allows it, seemed wrong. Also, MSVC++ won't
  7.  * link an executable without at least one object file. This
  8.  * satistifies that requirement.
  9.  */
  10.  
  11. __declspec(dllexport) int apache_main(int argc, char *argv[]);
  12.  
  13. int main(int argc, char *argv[]) 
  14. {
  15.     return apache_main(argc, argv);
  16. }
  17.