Changeset 9868 for trunk/psLib/test/pstap/src/pstap.h
- Timestamp:
- Nov 6, 2006, 12:31:31 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/pstap/src/pstap.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/pstap/src/pstap.h
r9747 r9868 25 25 ok(strcmp(VALUE, EXPECT) == 0, COMMENT, ## __VA_ARGS__); 26 26 27 # define ok_strn(VALUE,EXPECT,N,COMMENT, ...)\ 28 ok(strncmp(VALUE, EXPECT, N) == 0, COMMENT, ## __VA_ARGS__); 29 27 30 #elif __STDC_VERSION__ >= 199901L /* __GNUC__ */ 28 31 … … 38 41 ok(strcmp(VALUE, EXPECT) == 0, __VA_ARGS__); 39 42 43 # define ok_strn(VALUE,EXPECT,N, ...)\ 44 ok(strncmp(VALUE, EXPECT, N) == 0, __VA_ARGS__); 45 40 46 #else /* __STDC_VERSION__ */ 41 47 # error "Needs gcc or C99 compiler for variadic macros."
Note:
See TracChangeset
for help on using the changeset viewer.
