Changeset 7729


Ignore:
Timestamp:
03/31/11 11:06:55 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed _printf_ macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/include/macros.h

    r6412 r7729  
    1818/* _printf_ {{{1*/
    1919/*Printing macro: only cpu number 0 */
    20 #define _printf_(flag,...) if(flag) PrintfFunction(__VA_ARGS__)
     20#define _printf_(flag,...) do { if(flag) PrintfFunction(__VA_ARGS__); }while (0)
    2121/*}}}*/
    2222/* _error_ {{{1*/
Note: See TracChangeset for help on using the changeset viewer.