Skip to content

Instantly share code, notes, and snippets.

@smcl
Created August 13, 2011 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smcl/1143911 to your computer and use it in GitHub Desktop.
Save smcl/1143911 to your computer and use it in GitHub Desktop.
Where I'm adding my malicious preprocessor macro in grep
/* Removed the GPL notice. Hopefully RMS won't come after me... */
#ifndef GREP_GREP_H
#define GREP_GREP_H 1
/* Sean's changes go here */
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) || __STRICT_ANSI__
# define __attribute__(x)
#endif
/* ... */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment