Changes for shared library build using MinGW compiler on win32.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "dbmf.h"
|
||||
|
||||
#include "dbDefs.h"
|
||||
#include "dbFldTypes.h"
|
||||
#include "epicsPrint.h"
|
||||
#include "errMdef.h"
|
||||
#include "ellLib.h"
|
||||
@@ -33,6 +32,7 @@
|
||||
#include "epicsExport.h"
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "dbFldTypes.h"
|
||||
#include "link.h"
|
||||
#include "dbStaticLib.h"
|
||||
#include "dbStaticPvt.h"
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "dbDefs.h"
|
||||
#include "dbFldTypes.h"
|
||||
#include "epicsPrint.h"
|
||||
#include "errMdef.h"
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "dbFldTypes.h"
|
||||
#include "dbStaticLib.h"
|
||||
#include "dbStaticPvt.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "errlog.h"
|
||||
#include "macLib.h"
|
||||
#include "epicsStdio.h"
|
||||
@@ -29,7 +30,6 @@
|
||||
#include "registry.h"
|
||||
#include "epicsReadline.h"
|
||||
#include "cantProceed.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "iocsh.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "dbDefs.h"
|
||||
#include "cantProceed.h"
|
||||
#include "epicsFindSymbol.h"
|
||||
#include "gpHash.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "registry.h"
|
||||
|
||||
static void *gphPvt = 0;
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
* Also check for "EPICS_DLL_NO" not defined so that we will not use these
|
||||
* keywords if it is an object library build of base under WIN32.
|
||||
*/
|
||||
#if defined(_WIN32) && !defined(__GNUC__)
|
||||
#if (defined(_WIN32) && !defined(__GNUC__)) || defined(_MINGW)
|
||||
|
||||
# if defined(epicsExportSharedSymbols)
|
||||
# if defined(EPICS_DLL_NO) /* this indicates that we are not building a DLL */
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
#include "dbIocRegister.h"
|
||||
#include "dbtoolsIocRegister.h"
|
||||
#include "rsrvIocRegister.h"
|
||||
#include "miscIocRegister.h"
|
||||
#include "libComRegister.h"
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "miscIocRegister.h"
|
||||
#include "iocshRegisterCommon.h"
|
||||
|
||||
void epicsShareAPI iocshRegisterCommon(void)
|
||||
|
||||
Reference in New Issue
Block a user