Commit 74173e2e authored by Stefan Behnel's avatar Stefan Behnel

Allow users to override the CYTHON_SMALL_CODE macro.

parent 969765b6
...@@ -665,11 +665,13 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) { ...@@ -665,11 +665,13 @@ static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
#endif #endif
#ifndef CYTHON_SMALL_CODE
#if defined(__GNUC__) #if defined(__GNUC__)
#define CYTHON_SMALL_CODE __attribute__((optimize("Os"))) #define CYTHON_SMALL_CODE __attribute__((optimize("Os")))
#else #else
#define CYTHON_SMALL_CODE #define CYTHON_SMALL_CODE
#endif #endif
#endif
/////////////// FastTypeChecks.proto /////////////// /////////////// FastTypeChecks.proto ///////////////
......
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