Commit bcbfa645 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

The #warning directive is a gcc extension to standard C,

and Microsoft compilers spells it differently.
parent d0ca955d
......@@ -11,7 +11,11 @@
extern "C" {
#endif
#if defined(__GNUC__)
#warning "DeprecationWarning: intobject.h is going to be removed in 3.1"
#elif defined(MS_WINDOWS)
#pragma message("DeprecationWarning: intobject.h is going to be removed in 3.1")
#endif
#define PyInt_Check(op) PyLong_Check(op)
#define PyInt_FromString PyLong_FromString
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment