Changeset 2859 for trunk/src/kernel32


Ignore:
Timestamp:
Feb 22, 2000, 8:12:53 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk/src/kernel32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/dbglocal.cpp

    r2802 r2859  
    1 
    2 /* $Id: dbglocal.cpp,v 1.1 2000-02-16 14:25:38 sandervl Exp $ */
     1/* $Id: dbglocal.cpp,v 1.2 2000-02-22 19:12:52 sandervl Exp $ */
    32
    43/*
     
    1413#include <string.h>
    1514#include "dbglocal.h"
     15
     16#ifdef DEBUG
    1617
    1718USHORT DbgEnabled[DBG_MAXFILES];
     
    150151//******************************************************************************
    151152
     153#endif
  • trunk/src/kernel32/dbglocal.h

    r2802 r2859  
    1 /* $Id: dbglocal.h,v 1.1 2000-02-16 14:25:38 sandervl Exp $ */
     1/* $Id: dbglocal.h,v 1.2 2000-02-22 19:12:53 sandervl Exp $ */
    22
    33/*
     
    124124
    125125#define ParseLogStatus()
    126 #define DBG_LOCALLOG(a)
    127126
    128127#endif //DEBUG
  • trunk/src/kernel32/winimagebase.cpp

    r2802 r2859  
    1 /* $Id: winimagebase.cpp,v 1.8 2000-02-16 14:22:12 sandervl Exp $ */
     1/* $Id: winimagebase.cpp,v 1.9 2000-02-22 19:12:53 sandervl Exp $ */
    22
    33/*
     
    4949    ulRVAResourceSection(0)
    5050{
    51 #ifdef DEBUG
    5251  magic = MAGIC_WINIMAGE;
    53 #endif
    5452
    5553  if(hInstance != -1) {
  • trunk/src/kernel32/winimagepeldr.cpp

    r2786 r2859  
    1 /* $Id: winimagepeldr.cpp,v 1.31 2000-02-15 00:14:28 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.32 2000-02-22 19:12:53 sandervl Exp $ */
    22
    33/*
    44 * Win32 PE loader Image base class
    55 *
    6  * Copyright 1998-1999 Sander van Leeuwen (sandervl@xs4all.nl)
     6 * Copyright 1998-2000 Sander van Leeuwen (sandervl@xs4all.nl)
    77 * Copyright 1998 Knut St. Osmundsen
    88 *
     
    1919 *
    2020 */
    21 
     21#define DEBUG
    2222#define INCL_DOSFILEMGR          /* File Manager values      */
    2323#define INCL_DOSMODULEMGR
     
    6565char szErrorModule[128] = "";
    6666
    67 #ifndef max
    68 #define max(a, b)  ((a>b) ? a : b)
     67#ifdef DEBUG
     68static FILE *_privateLogFile = NULL;
    6969#endif
    7070
    71 static FILE *_privateLogFile = NULL;
    72 
    7371ULONG MissingApi();
    74 extern ULONG flAllocMem;    /*Tue 03.03.1998: knut */
    7572
    7673//******************************************************************************
     
    7875void OpenPrivateLogFilePE()
    7976{
     77#ifdef DEBUG
    8078 char logname[CCHMAXPATH];
    8179
     
    8785        }
    8886        dprintfGlobal(("PE LOGFILE : %s", logname));
     87#endif
    8988}
    9089//******************************************************************************
     
    9291void ClosePrivateLogFilePE()
    9392{
     93#ifdef DEBUG
    9494        if(_privateLogFile) {
    9595                fclose(_privateLogFile);
    9696                _privateLogFile = NULL;
    9797        }
     98#endif
    9899}
    99100//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.