Ignore:
Timestamp:
Feb 14, 2001, 12:41:04 PM (25 years ago)
Author:
sandervl
Message:

initterm call fixes

File:
1 edited

Legend:

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

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.9 2000-08-11 10:56:23 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3533#include <winconst.h>
    3634#include <odinlx.h>
    37 
     35#include <initdll.h>
    3836
    3937extern "C" {
    40 void CDECL _ctordtorInit( void );
    41 void CDECL _ctordtorTerm( void );
    42 
    4338 //Win32 resource table (produced by wrc)
    4439 extern DWORD _Resource_PEResTab;
     
    6156     case DLL_PROCESS_DETACH:
    6257       Glut32Terminate();
    63        _ctordtorTerm();
    64       return TRUE;
     58       __ctordtorTerm();
     59       return TRUE;
    6560   }
    6661   return FALSE;
     
    8782   switch (ulFlag) {
    8883      case 0 :
    89          _ctordtorInit();
     84         __ctordtorInit();
    9085
    9186         CheckVersionFromHMOD(PE2LX_VERSION, hModule);/* PLF Wed  98-03-18 05:28:48*/
Note: See TracChangeset for help on using the changeset viewer.