Ignore:
Timestamp:
Nov 25, 2011, 10:19:52 PM (14 years ago)
Author:
dmik
Message:

Make the debug version of ported DLLs build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/winimagepeldr.cpp

    r21720 r21824  
    4040#include <stdlib.h>
    4141
    42 #include <assert.h>
     42#ifdef DEBUG
    4343//use a different logfile
    4444#define PRIVATE_LOGGING
     45static FILE *_privateLogFile = NULL;
     46#endif
     47
     48#include <assert.h>
    4549#include <misc.h>
    4650#include <win32api.h>
     
    7074
    7175char szErrorModule[260] = "";
    72 
    73 #ifdef DEBUG
    74 static FILE *_privateLogFile = NULL;
    75 #endif
    7676
    7777ULONG WIN32API MissingApiOrd(char *parentimage, char *dllname, int ordinal);
     
    603603        for (i = 0; i < IMAGE_NUMBEROF_DIRECTORY_ENTRIES; i++)
    604604        {
    605             char *pszName;
     605            const char *pszName;
    606606
    607607            if(oh.DataDirectory[i].VirtualAddress && oh.DataDirectory[i].Size) {
Note: See TracChangeset for help on using the changeset viewer.