diff --git a/sdk/lib/pathcch/pathcch.h b/sdk/lib/pathcch/pathcch.h index df2906ac1ae82..1b7ae04b9549c 100644 --- a/sdk/lib/pathcch/pathcch.h +++ b/sdk/lib/pathcch/pathcch.h @@ -12,6 +12,9 @@ #pragma once +#ifndef DECLSPEC_IMPORT +#define DECLSPEC_IMPORT __declspec(dllimport) +#endif #ifndef WINBASEAPI #ifndef _KERNEL32_ @@ -21,7 +24,6 @@ #endif #endif - #ifndef WINPATHCCHAPI #ifndef STATIC_PATHCCH #define WINPATHCCHAPI WINBASEAPI @@ -30,7 +32,6 @@ #endif #endif - #ifdef __cplusplus extern "C" { #endif