#ifndef WSJTX_CONFIG_H__
#define WSJTX_CONFIG_H__

#ifdef __cplusplus
extern "C"  {
#endif

#define WSJTX_VERSION_MAJOR 2
#define WSJTX_VERSION_MINOR 2
#define WSJTX_VERSION_PATCH 159

#define CONFIG_TEST_VERSION_MAJOR 
#define CONFIG_TEST_VERSION_MINOR 
#define CONFIG_TEST_VERSION_PATCH 

#define CMAKE_INSTALL_DATAROOTDIR "share"
#define CMAKE_INSTALL_DOCDIR "share/doc/JTDX"
#define CMAKE_INSTALL_DATADIR "share"
#define CMAKE_PROJECT_NAME "jtdx"
#define PROJECT_MANUAL "index.php/videos-guides"
#define PROJECT_MANUAL_DIRECTORY_URL "http://sourceforge.net/projects/jtdx/"
#define PROJECT_SAMPLES_URL "http://jtdx.tech/public_html/downloads/"

#define WSJT_SHARED_RUNTIME 0
#define WSJT_QDEBUG_TO_FILE 0
#define WSJT_QDEBUG_IN_RELEASE 0
#define WSJT_TRACE_CAT 0
#define WSJT_TRACE_CAT_POLLS 0
#define WSJT_HAMLIB_TRACE 0
#define WSJT_HAMLIB_VERBOSE_TRACE 0
#define WSJT_SOFT_KEYING 1
#define WSJT_ENABLE_EXPERIMENTAL_FEATURES 0
#define WSJT_RIG_NONE_CAN_SPLIT 0
#define JTDX_DEBUG_TO_FILE 0

#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
#ifdef __cplusplus
#include <cstddef>
#else
#include <stddef.h>
#endif
  typedef size_t fortran_charlen_t;
#else
  typedef int fortran_charlen_t;
#endif

#ifdef __cplusplus
}
#endif

#endif
