diff options
Diffstat (limited to 'MSVC/readline/rldynlink.h')
-rw-r--r-- | MSVC/readline/rldynlink.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/MSVC/readline/rldynlink.h b/MSVC/readline/rldynlink.h index 034e66c..94d42c2 100644 --- a/MSVC/readline/rldynlink.h +++ b/MSVC/readline/rldynlink.h @@ -1,17 +1,17 @@ -
-#ifndef _DYN_LINK_H
-#define _DYN_LINK_H
-
-#if defined (READLINE_STATIC)
- #define _RL_DLL
-#elif defined (_WIN32)
- #if defined (BUILDING_DLL)
- #define _RL_DLL __declspec(dllexport)
- #else
- #define _RL_DLL __declspec(dllimport)
- #endif /* BUILDING_DLL */
-#endif /* _WIN32 ... _DYNAMIC_LINK */
-
-#define RL_EXTERN extern _RL_DLL
-
-#endif /* _DYN_LINK_H */
+ +#ifndef _DYN_LINK_H +#define _DYN_LINK_H + +#if defined (READLINE_STATIC) + #define _RL_DLL +#elif defined (_WIN32) + #if defined (BUILDING_DLL) + #define _RL_DLL __declspec(dllexport) + #else + #define _RL_DLL __declspec(dllimport) + #endif /* BUILDING_DLL */ +#endif /* _WIN32 ... _DYNAMIC_LINK */ + +#define RL_EXTERN extern _RL_DLL + +#endif /* _DYN_LINK_H */ |