File tree 2 files changed +6
-6
lines changed
java.desktop/windows/native/libawt/java2d/d3d
java.security.jgss/windows/native/libsspi_bridge
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 62
62
#include "Trace.h"
63
63
64
64
#define DebugPrintD3DError (res , msg ) \
65
- J2dTraceLn1(J2D_TRACE_ERROR, "D3D Error: " ## msg ## " res=%d", res)
65
+ J2dTraceLn1(J2D_TRACE_ERROR, "D3D Error: " msg " res=%d", res)
66
66
67
67
#endif /*D3D_PPL_DLL*/
68
68
87
87
#define SAFE_PRINTLN (RES ) \
88
88
do { \
89
89
if ((RES)!= NULL) { \
90
- J2dTraceLn1(J2D_TRACE_VERBOSE, " " ## # RES ## "=0x%x", (RES)); \
90
+ J2dTraceLn1(J2D_TRACE_VERBOSE, " " #RES "=0x%x", (RES)); \
91
91
} else { \
92
- J2dTraceLn(J2D_TRACE_VERBOSE, " " ## # RES ## "=NULL"); \
92
+ J2dTraceLn(J2D_TRACE_VERBOSE, " " #RES "=NULL"); \
93
93
} \
94
94
} while (0);
95
95
#else // DEBUG
@@ -114,12 +114,12 @@ do { \
114
114
115
115
#define RETURN_STATUS_IF_EXP_FAILED (EXPR ) \
116
116
if (FAILED(res = (EXPR))) { \
117
- DebugPrintD3DError(res, " " ## # EXPR ## " failed in " ## __FILE__); \
117
+ DebugPrintD3DError(res, " " #EXPR " failed in " __FILE__); \
118
118
return res; \
119
119
} else do { } while (0)
120
120
121
121
#define RETURN_STATUS_IF_FAILED (status ) \
122
122
if (FAILED((status))) { \
123
- DebugPrintD3DError((status), " failed in " ## __FILE__ ## ", return;");\
123
+ DebugPrintD3DError((status), " failed in " __FILE__ ", return;");\
124
124
return (status); \
125
125
} else do { } while (0)
Original file line number Diff line number Diff line change 55
55
// A debugging macro
56
56
#define PP (fmt, ...) \
57
57
if (trace) { \
58
- fprintf (stderr, " [SSPI:%ld] " fmt" \n " , __LINE__, ##__VA_ARGS__); \
58
+ fprintf (stderr, " [SSPI:%ld] " fmt " \n " , __LINE__, ##__VA_ARGS__); \
59
59
fflush (stderr); \
60
60
}
61
61
#define SEC_SUCCESS (status ) ((*minor_status = (status)), (status) >= SEC_E_OK)
You can’t perform that action at this time.
0 commit comments