Changes for shared library build using MinGW compiler on win32.

This commit is contained in:
Janet B. Anderson
2008-07-29 21:11:56 +00:00
parent 552cd4eb7e
commit 519b33e4fb
6 changed files with 6 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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" {

View File

@@ -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;

View File

@@ -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 */

View File

@@ -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)