Skip to content

Commit eec3fc5

Browse files
committed
Fix some #if guards
1 parent 222ecc5 commit eec3fc5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/deepbindless_surrogates.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "libblastrampoline_internal.h"
22

3-
#ifdef LBT_DEEPBINDLESS
3+
#if defined(LBT_DEEPBINDLESS)
44

55
int lsame_idx = -1;
66
const void *old_lsame32 = NULL, *old_lsame64 = NULL;

src/dl_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ void close_library(void * handle) {
6363
* Look up the given symbol within the given library denoted by `handle`.
6464
*/
6565
void * lookup_symbol(const void * handle, const char * symbol_name) {
66-
#ifdef _OS_WINDOWS_
66+
#if defined(_OS_WINDOWS_)
6767
return GetProcAddress((HMODULE) handle, symbol_name);
6868
#else
6969
return dlsym((void *)handle, symbol_name);

src/libblastrampoline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ LBT_DLLEXPORT int32_t lbt_forward(const char * libname, int32_t clear, int32_t v
224224
* attempts to load another one without setting the `clear` flag, we refuse to
225225
* load it on a deepbindless system, printing out to `stderr` if we're verbose.
226226
*/
227-
#if LBT_DEEPBINDLESS
227+
#if defined(LBT_DEEPBINDLESS)
228228
// If `clear` is set, we clear our tracking
229229
if (clear) {
230230
deepbindless_interfaces_loaded = 0x00;

0 commit comments

Comments
 (0)