Changeset 5130 for trunk/src/ddraw


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

initterm call fixes

Location:
trunk/src/ddraw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/initterm.cpp

    r3993 r5130  
    1 /* $Id: initterm.cpp,v 1.13 2000-08-11 10:56:14 sandervl Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3634#include <odinlx.h>
    3735#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
     36#include <initdll.h>
    3837
    3938extern "C" {
    40 void CDECL _ctordtorInit( void );
    41 void CDECL _ctordtorTerm( void );
    42 
    4339 //Win32 resource table (produced by wrc)
    4440 extern DWORD _Resource_PEResTab;
     
    6258
    6359   case DLL_PROCESS_DETACH:
    64         _ctordtorTerm();
     60        __ctordtorTerm();
    6561        return TRUE;
    6662   }
     
    9086      case 0 :
    9187      {
    92          _ctordtorInit();
     88         __ctordtorInit();
    9389
    9490         DosQueryModuleName(hModule, CCHMAXPATH, ddrawPath);
  • trunk/src/ddraw/new/initterm.cpp

    r3345 r5130  
    1 /* $Id: initterm.cpp,v 1.1 2000-04-07 18:21:12 mike Exp $ */
    2 
    31/*
    42 * DLL entry point
     
    3735#include <exitlist.h>
    3836#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
     37#include <initdll.h>
    3938
    4039extern "C" {
    41 void CDECL _ctordtorInit( void );
    42 void CDECL _ctordtorTerm( void );
    43 
    4440 //Win32 resource table (produced by wrc)
    4541 extern DWORD _Resource_PEResTab;
     
    6561
    6662   case DLL_PROCESS_DETACH:
    67         _ctordtorTerm();
     63        __ctordtorTerm();
    6864        return TRUE;
    6965   }
     
    9389      case 0 :
    9490      {
    95          _ctordtorInit();
     91         __ctordtorInit();
    9692
    9793         DosQueryModuleName(hModule, CCHMAXPATH, ddrawPath);
Note: See TracChangeset for help on using the changeset viewer.