summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-09 11:02:08 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-09 11:02:08 +0000
commitd5e884a5a9c1b7de1556e6791373f244dac4884c (patch)
treed200a7b18269f746486e040dd5f5466496a19422 /libgfortran/libgfortran.h
parentde0c4488fdfa38f2c6c01b098b416b8772572e54 (diff)
downloadgcc-d5e884a5a9c1b7de1556e6791373f244dac4884c.tar.gz
PR libfortran/40549
* Makefile.in (LTLDFLAGS): Add -no-undefined. * Makefile.am: Regenerate. * libgfortran.h: Remove unused block of code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index a2e200274f5..439c791fca2 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -177,13 +177,6 @@ extern int __mingw_snprintf (char *, size_t, const char *, ...)
# define iexport1(x,y) iexport2(x,y)
# define iexport2(x,y) \
extern __typeof(x) PREFIX(x) __attribute__((__alias__(#y)))
-/* ??? We're not currently building a dll, and it's wrong to add dllexport
- to objects going into a static library archive. */
-#elif 0 && defined(HAVE_ATTRIBUTE_DLLEXPORT)
-# define export_proto_np(x) extern __typeof(x) x __attribute__((dllexport))
-# define export_proto(x) sym_rename(x, PREFIX(x)) __attribute__((dllexport))
-# define iexport_proto(x) export_proto(x)
-# define iexport(x) extern char swallow_semicolon
#else
# define export_proto(x) sym_rename(x, PREFIX(x))
# define export_proto_np(x) extern char swallow_semicolon