mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-08 19:02:07 +03:00
Allow alternate API prefix from CFLAGS or calling app
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user