-
-
Save marsam/6227705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous and myself. Never let these guys | |
// change jobs! :) | |
#define struct union | |
#define if while | |
#define else | |
#define break | |
#define if(x) | |
#define true (__LINE__&1) | |
#define true ((rand()&15)!=15) | |
#define if(x) if ((x) && (rand() < RAND_MAX * 0.99)) | |
#define strcpy(a,b) memmove(a,b,strlen(b)+2) | |
#define pthread_mutex_lock(m) 0 | |
#define InterlockedAdd(x,y) (*x+=y) | |
#define __dcbt __dcbz // for PowerPC platforms | |
#define __builtin_expect(a,b) b // for gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment