Browse Source

Catch inadvertent USE_TLS=0 declaration

for #1766
tags/v0.3.4
Martin Kroeker GitHub 7 years ago
parent
commit
1ad1e79062
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      driver/others/memory.c

+ 5
- 0
driver/others/memory.c View File

@@ -75,6 +75,11 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#if defined(USE_TLS) && defined(SMP)
#define COMPILE_TLS

#if USE_TLS != 1
#undef COMPILE_TLS
#endif

#if defined(__GLIBC_PREREQ)
#if !__GLIBC_PREREQ(2,20)
#undef COMPILE_TLS


Loading…
Cancel
Save