Skip to content

Commit

Permalink
fixing macro so that it prints out the function name. npodb
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Turner committed Oct 13, 2008
1 parent 7dc98d5 commit 8f6592a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/wince/shunt/win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ extern "C" {

#define MOZCE_NOT_IMPLEMENTED(fname) \
SetLastError(0); \
mozce_printf("-- " fname " called\n"); \
mozce_printf("-- %s called\n", fname); \
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
return 0;

#define MOZCE_NOT_IMPLEMENTED_RV(fname, rv) \
SetLastError(0); \
mozce_printf("-- " fname " called\n"); \
mozce_printf("-- %s called\n", fname); \
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); \
return rv;

Expand Down

0 comments on commit 8f6592a

Please sign in to comment.