Skip to content

Instantly share code, notes, and snippets.

@smcl
Created August 13, 2011 14:03
Show Gist options
  • Save smcl/1143878 to your computer and use it in GitHub Desktop.
Save smcl/1143878 to your computer and use it in GitHub Desktop.
Where I'm adding my malicious preprocessor macro in Python
#ifndef Py_PYTHON_H
#define Py_PYTHON_H
/* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
/* Include nearly all Python header files */
/* Sean's changes go here */
#include "patchlevel.h"
/* etc ... */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment