Ignore:
Timestamp:
Feb 14, 2001, 4:14:46 PM (25 years ago)
Author:
sandervl
Message:

VAC 3.6.5 bug workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DPlayX/dplayx_main.cpp

    r4317 r5135  
    1 // $Id: dplayx_main.cpp,v 1.2 2000-09-24 22:47:37 hugh Exp $
     1// $Id: dplayx_main.cpp,v 1.3 2001-02-14 15:14:41 sandervl Exp $
    22/*
    33 * DPLAYX.DLL LibMain
     
    1818#include "dplaysp.h"
    1919#include "dplayx_global.h"
     20#ifdef __WIN32OS2__
     21#include <initdll.h>
     22#endif
    2023
    2124DEFAULT_DEBUG_CHANNEL(dplay);
     
    2730/* This is a globally exported variable at ordinal 6 of DPLAYX.DLL */
    2831DWORD gdwDPlaySPRefCount = 0; /* FIXME: Should it be initialized here? */
    29 
    30 extern "C" {
    31 void CDECL _ctordtorTerm( void );
    32 }
    3332
    3433BOOL WINAPI DPLAYX_LibMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved )
     
    5958        /* Last instance performs destruction of global processor data */
    6059        rc = DPLAYX_DestructData();
    61         _ctordtorTerm();
     60#ifdef __WIN32OS2__
     61        ctordtorTerm();
     62#endif
    6263        return rc;
    6364      }
Note: See TracChangeset for help on using the changeset viewer.