Move export macros from com_err.h to com_right.h
This commit is contained in:
@@ -45,26 +45,6 @@
|
|||||||
#define __attribute__(X)
|
#define __attribute__(X)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef KRB5_LIB
|
|
||||||
#ifndef KRB5_LIB_FUNCTION
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#define KRB5_LIB_FUNCTION __declspec(dllimport)
|
|
||||||
#define KRB5_LIB_CALL __stdcall
|
|
||||||
#define KRB5_LIB_VARIABLE __declspec(dllimport)
|
|
||||||
#else
|
|
||||||
#define KRB5_LIB_FUNCTION
|
|
||||||
#define KRB5_LIB_CALL
|
|
||||||
#define KRB5_LIB_VARIABLE
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#define KRB5_CALLCONV __stdcall
|
|
||||||
#else
|
|
||||||
#define KRB5_CALLCONV
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void (KRB5_CALLCONV *errf) (const char *, long, const char *, va_list);
|
typedef void (KRB5_CALLCONV *errf) (const char *, long, const char *, va_list);
|
||||||
|
|
||||||
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
||||||
|
@@ -36,6 +36,26 @@
|
|||||||
#ifndef __COM_RIGHT_H__
|
#ifndef __COM_RIGHT_H__
|
||||||
#define __COM_RIGHT_H__
|
#define __COM_RIGHT_H__
|
||||||
|
|
||||||
|
#ifndef KRB5_LIB
|
||||||
|
#ifndef KRB5_LIB_FUNCTION
|
||||||
|
#if defined(_WIN32)
|
||||||
|
#define KRB5_LIB_FUNCTION __declspec(dllimport)
|
||||||
|
#define KRB5_LIB_CALL __stdcall
|
||||||
|
#define KRB5_LIB_VARIABLE __declspec(dllimport)
|
||||||
|
#else
|
||||||
|
#define KRB5_LIB_FUNCTION
|
||||||
|
#define KRB5_LIB_CALL
|
||||||
|
#define KRB5_LIB_VARIABLE
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define KRB5_CALLCONV __stdcall
|
||||||
|
#else
|
||||||
|
#define KRB5_CALLCONV
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user