29Fermer31
GodzilLe 16/02/2011 à 21:57
#if _WINDOWS_ #define Alloc(x,y,z) GlobalAlloc(x,y) #else #define Alloc(x,y,z) malloc(x,y) #endif void func() { t = Alloc(bla, bla, bla); }

(bien sur ce n'est qu'un exemple absurde)