diff options
-rw-r--r-- | Include/intobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/intobject.h b/Include/intobject.h index 8385d34..041c9f7 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -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 |