File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 28
28
#include <stdlib.h> /* for exit() in unix */
29
29
#include "sprtf.h"
30
30
31
+ #ifdef ENABLE_DEBUG_LOG
32
+
31
33
#ifdef _MSC_VER
32
34
# ifndef _CRT_SECURE_NO_DEPRECATE
33
35
# define _CRT_SECURE_NO_DEPRECATE
@@ -416,4 +418,5 @@ int MCDECL wsprtf( PTSTR pf, ... )
416
418
417
419
#endif /* #ifdef UNICODE */
418
420
421
+ #endif /* #ifdef ENABLE_DEBUG_LOG */
419
422
/* eof - sprtf.c */
Original file line number Diff line number Diff line change 26
26
#ifdef __cplusplus
27
27
extern "C" {
28
28
#endif
29
+ #ifdef ENABLE_DEBUG_LOG
29
30
/*=============================================================================
30
31
* EXTRA Debugging, and information aid.
31
32
*
@@ -51,12 +52,6 @@ extern "C" {
51
52
# define SPRTF sprtf
52
53
#endif
53
54
54
- #ifdef ENABLE_DEBUG_LOG
55
- # define DEBUG_LOG (ARG ) do { ARG; } while(0)
56
- #else
57
- # define DEBUG_LOG (ARG )
58
- #endif
59
-
60
55
#ifdef _MSC_VER
61
56
# define MCDECL _cdecl
62
57
#else
@@ -92,9 +87,14 @@ TIDY_EXPORT char *get_date_time_stg(void);
92
87
TIDY_EXPORT int gettimeofday (struct timeval * tp , void * tzp );
93
88
#endif
94
89
90
+ # define DEBUG_LOG (ARG ) do { ARG; } while(0)
91
+
92
+ #else
93
+ # define DEBUG_LOG (ARG )
94
+ #endif
95
+
95
96
#ifdef __cplusplus
96
97
}
97
98
#endif
98
-
99
99
#endif /* #ifndef _SPRTF_HXX_*/
100
100
/* eof - sprtf.h */
You can’t perform that action at this time.
0 commit comments