Ignore:
Timestamp:
Mar 4, 2000, 8:10:18 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/initterm.cpp

    r2754 r2996  
    1 /* $Id: initterm.cpp,v 1.6 2000-02-11 12:36:39 bird Exp $ */
     1/* $Id: initterm.cpp,v 1.7 2000-03-04 19:10:12 jeroen Exp $ */
    22
    33/*
     
    3131#include <stdio.h>
    3232#include <string.h>
    33 #include <odin.h>
     33#include <misc.h>
    3434#include <win32type.h>
    3535#include <winconst.h>
    3636#include <odinlx.h>
    37 #include <misc.h>                      /* PLF Wed  98-03-18 23:18:15       */
    3837
    3938extern "C" {
     
    5251   {
    5352   case DLL_PROCESS_ATTACH:
    54         return TRUE;
     53        return TRUE;
    5554
    5655   case DLL_THREAD_ATTACH:
    5756   case DLL_THREAD_DETACH:
    58         return TRUE;
     57        return TRUE;
    5958
    6059   case DLL_PROCESS_DETACH:
    61         _ctordtorTerm();
    62         return TRUE;
     60        _ctordtorTerm();
     61        return TRUE;
    6362   }
    6463   return FALSE;
     
    7473/* calling this function.                                                   */
    7574/****************************************************************************/
    76 unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long
     75unsigned long _System _DLL_InitTerm(unsigned long hModule, unsigned long
    7776                                   ulFlag)
    7877{
    79    size_t i;
    80    APIRET rc;
    81 
    8278   /*-------------------------------------------------------------------------*/
    8379   /* If ulFlag is zero then the DLL is being loaded so initialization should */
     
    9086         _ctordtorInit();
    9187
    92          CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
    93 
    9488         /*******************************************************************/
    9589         /* A DosExitList routine must be used to clean up if runtime calls */
     
    9993         if(RegisterLxDll(hModule, LibMain, (PVOID)&_Resource_PEResTab) == FALSE)
    10094                return 0UL;
     95
     96         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
    10197
    10298         break;
Note: See TracChangeset for help on using the changeset viewer.