Allow alternate API prefix from CFLAGS or calling app

This commit is contained in:
Sara Golemon 2005-01-10 23:56:09 +00:00
parent 54b852dfc9
commit c9e8f3a1a0

View File

@ -42,6 +42,8 @@
#include <string.h>
#include <sys/stat.h>
/* Allow alternate API prefix from CFLAGS or calling app */
#ifndef LIBSSH2_API
#ifdef LIBSSH2_WIN32
# ifdef LIBSSH2_LIBRARY
# define LIBSSH2_API __declspec(dllexport)
@ -54,6 +56,7 @@
#else
# define LIBSSH2_API
#endif
#endif
#define LIBSSH2_VERSION "0.4"
#define LIBSSH2_APINO 200412301450