OSDN Git Service

Suppress autoconf detection of _aligned_malloc functions.
authorKeith Marshall <keith@users.osdn.me>
Mon, 8 Oct 2018 20:09:12 +0000 (21:09 +0100)
committerKeith Marshall <keith@users.osdn.me>
Mon, 8 Oct 2018 20:09:12 +0000 (21:09 +0100)
mingwrt/ChangeLog
mingwrt/msvcrt-xref/msvcrt.def.in

index d6ff210..637c78a 100644 (file)
@@ -1,3 +1,11 @@
+2018-10-08  Keith Marshall  <keith@users.osdn.me>
+
+       Suppress autoconf detection of _aligned_malloc functions.
+
+       * msvcrt-xref/msvcrt.def.in (_aligned_malloc, _aligned_free)
+       (_aligned_offset_malloc, _aligned_realloc, _aligned_offset_realloc):
+       Mark as requiring dlsym() lookup, when linking with MSVCRT.DLL
+
 2018-10-07  Keith Marshall  <keith@users.osdn.me>
 
        Make alloca() API both GNU and Microsoft compatible.
index 5936ce2..0061bb8 100644 (file)
@@ -5,7 +5,7 @@
  * definition files, supporting multiple OS platform versions.
  *
  * Compiled by Keith Marshall <keithmarshall@users.sourceforge.net>
- * Copyright (C) 2014, 2016, MinGW.org Project.
+ * Copyright (C) 2014, 2016, 2018, MinGW.org Project.
  *
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -555,27 +555,27 @@ _adjust_fdiv DATA
 _aexit_rtn DATA
 #endif
 #if __MSVCRT_VERSION__ >= 0x0501UL
-_aligned_free
+__MINGW_DLSYM(_aligned_free)
 # if __MSVCRT_VERSION__ >= 0x0600UL && __MSVCRT_VERSION__ < 0x07000000UL
 _aligned_free_dbg
 # endif
-_aligned_malloc
+__MINGW_DLSYM(_aligned_malloc)
 # if __MSVCRT_VERSION__ >= 0x0600UL && __MSVCRT_VERSION__ < 0x07000000UL
 _aligned_malloc_dbg
 # elif __MSVCRT_VERSION__ >= 0x08000000UL
 _aligned_msize
 # endif
-_aligned_offset_malloc
+__MINGW_DLSYM(_aligned_offset_malloc)
 # if __MSVCRT_VERSION__ >= 0x0600UL && __MSVCRT_VERSION__ < 0x07000000UL
 _aligned_offset_malloc_dbg
 # endif
-_aligned_offset_realloc
+__MINGW_DLSYM(_aligned_offset_realloc)
 # if __MSVCRT_VERSION__ >= 0x0600UL && __MSVCRT_VERSION__ < 0x07000000UL
 _aligned_offset_realloc_dbg
 # elif __MSVCRT_VERSION__ >= 0x08000000UL
 _aligned_offset_recalloc
 # endif
-_aligned_realloc
+__MINGW_DLSYM(_aligned_realloc)
 # if __MSVCRT_VERSION__ >= 0x0600UL && __MSVCRT_VERSION__ < 0x07000000UL
 _aligned_realloc_dbg
 # elif __MSVCRT_VERSION__ >= 0x08000000UL