summaryrefslogtreecommitdiff
path: root/MSVC/readline/rldynlink.h
blob: 94d42c21f02835b1abe9cdd0a308d01c81722d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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  */