mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
1a9bfc925b
The v8 compiler has an ABI change where the charlen hidden arguments change from int to size_t type. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8528 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
#ifndef WSJTX_CONFIG_H__
|
|
#define WSJTX_CONFIG_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define WSJTX_VERSION_MAJOR @WSJTX_VERSION_MAJOR@
|
|
#define WSJTX_VERSION_MINOR @WSJTX_VERSION_MINOR@
|
|
#define WSJTX_VERSION_PATCH @WSJTX_VERSION_PATCH@
|
|
|
|
#cmakedefine CMAKE_INSTALL_DATAROOTDIR "@CMAKE_INSTALL_DATAROOTDIR@"
|
|
#cmakedefine CMAKE_INSTALL_DOCDIR "@CMAKE_INSTALL_DOCDIR@"
|
|
#cmakedefine CMAKE_INSTALL_DATADIR "@CMAKE_INSTALL_DATADIR@"
|
|
#cmakedefine CMAKE_PROJECT_NAME "@CMAKE_PROJECT_NAME@"
|
|
#cmakedefine PROJECT_MANUAL "@PROJECT_MANUAL@"
|
|
#cmakedefine PROJECT_HOMEPAGE "@PROJECT_HOMEPAGE@"
|
|
#cmakedefine PROJECT_MANUAL_DIRECTORY_URL "@PROJECT_MANUAL_DIRECTORY_URL@"
|
|
#cmakedefine PROJECT_SAMPLES_URL "@PROJECT_SAMPLES_URL@"
|
|
#cmakedefine PROJECT_SUMMARY_DESCRIPTION "@PROJECT_SUMMARY_DESCRIPTION@"
|
|
|
|
#cmakedefine01 WSJT_SHARED_RUNTIME
|
|
#cmakedefine01 WSJT_QDEBUG_TO_FILE
|
|
#cmakedefine01 WSJT_QDEBUG_IN_RELEASE
|
|
#cmakedefine01 WSJT_TRACE_CAT
|
|
#cmakedefine01 WSJT_TRACE_CAT_POLLS
|
|
#cmakedefine01 WSJT_HAMLIB_TRACE
|
|
#cmakedefine01 WSJT_HAMLIB_VERBOSE_TRACE
|
|
#cmakedefine01 WSJT_SOFT_KEYING
|
|
#cmakedefine01 WSJT_ENABLE_EXPERIMENTAL_FEATURES
|
|
#cmakedefine01 WSJT_RIG_NONE_CAN_SPLIT
|
|
|
|
#define WSJTX_STRINGIZE1(x) #x
|
|
#define WSJTX_STRINGIZE(x) WSJTX_STRINGIZE1(x)
|
|
|
|
/* consistent UNICODE behaviour */
|
|
#ifndef UNICODE
|
|
# undef _UNICODE
|
|
#else
|
|
# ifndef _UNICODE
|
|
# define _UNICODE
|
|
# endif
|
|
#endif
|
|
|
|
/* typedef for consistent gfortran ABI for charlen type hidden arguments */
|
|
#if __GNUC__ > 7
|
|
typedef size_t fortran_charlen_t;
|
|
#else
|
|
typedef int fortran_charlen_t;
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|