Changeset 2859 for trunk/src/kernel32/winimagepeldr.cpp
- Timestamp:
- Feb 22, 2000, 8:12:53 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepeldr.cpp
r2786 r2859 1 /* $Id: winimagepeldr.cpp,v 1.3 1 2000-02-15 00:14:28sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.32 2000-02-22 19:12:53 sandervl Exp $ */ 2 2 3 3 /* 4 4 * Win32 PE loader Image base class 5 5 * 6 * Copyright 1998- 1999Sander van Leeuwen (sandervl@xs4all.nl)6 * Copyright 1998-2000 Sander van Leeuwen (sandervl@xs4all.nl) 7 7 * Copyright 1998 Knut St. Osmundsen 8 8 * … … 19 19 * 20 20 */ 21 21 #define DEBUG 22 22 #define INCL_DOSFILEMGR /* File Manager values */ 23 23 #define INCL_DOSMODULEMGR … … 65 65 char szErrorModule[128] = ""; 66 66 67 #if ndef max68 #define max(a, b) ((a>b) ? a : b) 67 #ifdef DEBUG 68 static FILE *_privateLogFile = NULL; 69 69 #endif 70 70 71 static FILE *_privateLogFile = NULL;72 73 71 ULONG MissingApi(); 74 extern ULONG flAllocMem; /*Tue 03.03.1998: knut */75 72 76 73 //****************************************************************************** … … 78 75 void OpenPrivateLogFilePE() 79 76 { 77 #ifdef DEBUG 80 78 char logname[CCHMAXPATH]; 81 79 … … 87 85 } 88 86 dprintfGlobal(("PE LOGFILE : %s", logname)); 87 #endif 89 88 } 90 89 //****************************************************************************** … … 92 91 void ClosePrivateLogFilePE() 93 92 { 93 #ifdef DEBUG 94 94 if(_privateLogFile) { 95 95 fclose(_privateLogFile); 96 96 _privateLogFile = NULL; 97 97 } 98 #endif 98 99 } 99 100 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.