Changeset 1890 for trunk/dll


Ignore:
Timestamp:
Jan 30, 2020, 7:39:42 AM (6 years ago)
Author:
Steven Levine
Message:

Add PMPRINTF enable support to makefiles.
Correct PMPRINTF debug macro enables in sources.

Location:
trunk/dll
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1878 r1890  
    174174#include "pathutil.h"                   // AddBackslashToPath
    175175#include "copyf.h"                      // ignorereadonly
    176 #if 0
    177 #define  __PMPRINTF__
     176
     177#ifdef PMPRINTF
     178#define  _PMPRINTF_                     // Enable debug macros
    178179#include "PMPRINTF.H"
    179180#endif
  • trunk/dll/filldir.c

    r1880 r1890  
    168168#include "pathutil.h"                   // AddBackslashToPath
    169169#include "tmrsvcs.h"                    // ITIMER_DESC
    170 #if 0
    171 #define  __PMPRINTF__
     170
     171#ifdef PMPRINTF
     172#define  _PMPRINTF_                     // Enable debug macros
    172173#include "PMPRINTF.H"
    173174#endif
  • trunk/dll/flesh.c

    r1882 r1890  
    7979#include "common.h"                     // IncrThreadUsage DecrThreadUsage
    8080#include "pathutil.h"
    81 #if 0
    82 #define  __PMPRINTF__
     81
     82#ifdef PMPRINTF
     83#define  _PMPRINTF_                     // Enable debug macros
    8384#include "PMPRINTF.H"
    8485#endif
     
    8889
    8990static PSZ pszSrcFile = __FILE__;
    90 
    9191
    9292static INT tidFleshWorkListThread = -1; // 2015-08-08 SHL
  • trunk/dll/makefile

    r1856 r1890  
    33
    44# Copyright (c) 1993-98 M. Kimes
    5 # Copyright (c) 2002, 2015 Steven H. Levine
     5# Copyright (c) 2002-2020 Steven H. Levine
    66
    77# 22 May 03 SHL Correct icon dependencies
     
    4848# 24 Feb 14 JBS Ticket #500: Suspended use of high memory by commenting out the calls to exehdr
    4949# 13 Aug 15 SHL Add listutil
     50# 25 Jan 20 SHL Add PMPRINTF support
    5051
    5152# Environment: see makefile_pre.mk and makefile_post.mk
     
    5455# WARNALL - add more warnings if defined, standard warnings if not defined
    5556# FORTIFY - enable FORTIFY heap checking if defined, omit FORITY support if not defined
     57# PMPRINTF - enable PMPRINTF support, omit PMPRINTF support if not defined
    5658# USE_RC - use rc.exe if defined, use wrc.exe if not defined
    5759# NOHIGHMEM - support high memory use (i.e exehdir /highmem)
     60
     61# PMPRINTF support assumes PMPRINTF.H in INCLUDE path
     62# PMPRINTF support assumes PMPRINTF.LIB in LIB path
    5863
    5964BASE = fm3dll
     
    159164!endif
    160165
     166!ifdef PMPRINTF
     167CFLAGS += -dPMPRINTF
     168!endif
     169
    161170# for fm3res only
    162171CFLAGSR = -bt=os2 -mf -bd -bm         -olirs -s     -j -we -wx -zfp -zgp -zp4 -zq
     
    362371  -del *~
    363372
     373# eof
  • trunk/dll/misc.c

    r1840 r1890  
    122122#include "fortify.h"
    123123#include "info.h"                       // driveflags
    124 #if 0
    125 #define  __PMPRINTF__
     124
     125#ifdef PMPRINTF
     126#define  _PMPRINTF_                     // Enable debug macros
    126127#include "PMPRINTF.H"
    127128#endif
  • trunk/dll/select.c

    r1883 r1890  
    7474#include "flesh.h"
    7575#include "treecnr.h"                    // fExpandAll
    76 #if 0
    77 #define  __PMPRINTF__
     76
     77#ifdef PMPRINTF
     78#define  _PMPRINTF_                     // Enable debug macros
    7879#include "PMPRINTF.H"
    7980#endif
  • trunk/dll/sortcnr.c

    r1851 r1890  
    2828#include "sortcnr.h"
    2929#include "valid.h"                      // TestCDates
    30 #if 0
    31 #define  __PMPRINTF__
     30
     31#ifdef PMPRINTF
     32#define  _PMPRINTF_                     // Enable debug macros
    3233#include "PMPRINTF.H"
    3334#endif
  • trunk/dll/update.c

    r1876 r1890  
    5151#include "misc.h"                       // PostMsg
    5252#include "fortify.h"
    53 #if 0
    54 #define  __PMPRINTF__
     53
     54#ifdef PMPRINTF
     55#define  _PMPRINTF_                     // Enable debug macros
    5556#include "PMPRINTF.H"
    5657#endif
  • trunk/dll/valid.c

    r1877 r1890  
    696696      }
    697697    }
    698      else if (*argv[x] == '`' && isalpha(argv[x][1])) {
     698    else if (*argv[x] == '`' && isalpha(argv[x][1])) {
    699699
    700700      CHAR *p = &argv[x][1];
Note: See TracChangeset for help on using the changeset viewer.