Allow alternate API prefix from CFLAGS or calling app
This commit is contained in:
parent
54b852dfc9
commit
c9e8f3a1a0
@ -42,6 +42,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
/* Allow alternate API prefix from CFLAGS or calling app */
|
||||||
|
#ifndef LIBSSH2_API
|
||||||
#ifdef LIBSSH2_WIN32
|
#ifdef LIBSSH2_WIN32
|
||||||
# ifdef LIBSSH2_LIBRARY
|
# ifdef LIBSSH2_LIBRARY
|
||||||
# define LIBSSH2_API __declspec(dllexport)
|
# define LIBSSH2_API __declspec(dllexport)
|
||||||
@ -54,6 +56,7 @@
|
|||||||
#else
|
#else
|
||||||
# define LIBSSH2_API
|
# define LIBSSH2_API
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LIBSSH2_VERSION "0.4"
|
#define LIBSSH2_VERSION "0.4"
|
||||||
#define LIBSSH2_APINO 200412301450
|
#define LIBSSH2_APINO 200412301450
|
||||||
|
Loading…
x
Reference in New Issue
Block a user