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