diff --git a/sdk/lib/delayimp/delayimp.c b/sdk/lib/delayimp/delayimp.c index e3f97b085b8..0f86b67f2bd 100644 --- a/sdk/lib/delayimp/delayimp.c +++ b/sdk/lib/delayimp/delayimp.c @@ -15,14 +15,11 @@ /**** Linker magic: provide a default (NULL) pointer, but allow the user to override it ****/ -#if defined(__GNUC__) +/* The actual items we use */ PfnDliHook __pfnDliNotifyHook2; PfnDliHook __pfnDliFailureHook2; -#else -/* The actual items we use */ -extern PfnDliHook __pfnDliNotifyHook2; -extern PfnDliHook __pfnDliFailureHook2; +#if !defined(__GNUC__) /* The fallback symbols */ PfnDliHook __pfnDliNotifyHook2Default = NULL; PfnDliHook __pfnDliFailureHook2Default = NULL;