getting closer to win32 build, not arrived though

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@775 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.3
Stéphane Fillod, F8CFE 2001-12-19 03:37:07 +00:00
rodzic 83377f40ad
commit 0382397b27
1 zmienionych plików z 26 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,11 @@
/* $Id: rig_dll.h,v 1.4 2001-12-16 11:14:46 fillods Exp $ */
/* $Id: rig_dll.h,v 1.5 2001-12-19 03:37:07 fillods Exp $ */
/*
* Temporarily commented out, until cygwin port is sorted out
*/
#if 0
#if defined(__CYGWIN__)
# if defined(HAMLIB_DLL)
# if defined(HAMLIB_STATIC)
@ -35,6 +40,26 @@
# define BACKEND_EXPORT_VAR(type) BACKEND_IMPEXP type
#endif
#endif
#if defined(__CYGWIN__)
# undef BACKEND_EXPORT_VAR(type)
# undef HAMLIB_EXPORT_VAR(type)
# ifdef DLL_EXPORT
# ifdef IN_HAMLIB
# define BACKEND_EXPORT_VAR(type) __declspec(dllexport) type
# define HAMLIB_EXPORT_VAR(type) __declspec(dllexport) type
# else
# define BACKEND_EXPORT_VAR(type) __declspec(dllimport) type
/* FIXME: HAMLIB_EXPORT_VAR import */
# endif
# else
/* must be static build, no directive */
# endif
#endif
/* Take care of non-cygwin platforms */
#if !defined(HAMLIB_IMPEXP)
# define HAMLIB_IMPEXP