summaryrefslogtreecommitdiff
path: root/MSVC/readline/rldynlink.h
blob: 034e66c76a0915fe3813eb4b70005c0d24152a15 (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  */