Message ID | 20240730140915.225143-2-ramiro.polla@gmail.com |
---|---|
State | New |
Headers | show |
Series | some cleanups for compat/w32dlfcn.h | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 7/30/2024 11:09 AM, Ramiro Polla wrote: > Since we now expect C17, it is safe to assume that the toolchain will > have these flags defined. We expect C11, but probe for C17 and use it if available. > --- > compat/w32dlfcn.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/compat/w32dlfcn.h b/compat/w32dlfcn.h > index ac20e83a7a..8ae718f4bd 100644 > --- a/compat/w32dlfcn.h > +++ b/compat/w32dlfcn.h > @@ -120,12 +120,6 @@ exit: > return module; > } > #endif > -#ifndef LOAD_LIBRARY_SEARCH_APPLICATION_DIR > -# define LOAD_LIBRARY_SEARCH_APPLICATION_DIR 0x00000200 > -#endif > -#ifndef LOAD_LIBRARY_SEARCH_SYSTEM32 > -# define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800 > -#endif > #if HAVE_WINRT > if (!name_w) > return NULL;
diff --git a/compat/w32dlfcn.h b/compat/w32dlfcn.h index ac20e83a7a..8ae718f4bd 100644 --- a/compat/w32dlfcn.h +++ b/compat/w32dlfcn.h @@ -120,12 +120,6 @@ exit: return module; } #endif -#ifndef LOAD_LIBRARY_SEARCH_APPLICATION_DIR -# define LOAD_LIBRARY_SEARCH_APPLICATION_DIR 0x00000200 -#endif -#ifndef LOAD_LIBRARY_SEARCH_SYSTEM32 -# define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800 -#endif #if HAVE_WINRT if (!name_w) return NULL;