From: Alexandre Oliva Date: Wed, 20 Jan 1999 18:10:18 +0000 (+0000) Subject: * ltconfig.in (global_symbol_pipe): #define const to nothing if X-Git-Tag: ild-branchpoint~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6935dcde62fbe950b74f3fadb77ee909ca2640fa;p=thirdparty%2Flibtool.git * ltconfig.in (global_symbol_pipe): #define const to nothing if not __STDC__ --- diff --git a/ChangeLog b/ChangeLog index e926cdccc..75fa8ad83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 1999-01-20 Alexandre Oliva + * ltconfig.in (global_symbol_pipe): #define const to nothing if + not __STDC__ + * demo/dlmain.c (main): cast s->address to the appropriate pointer types, otherwise StunOS4's cc refuses to compile it diff --git a/ltconfig.in b/ltconfig.in index c3c155a84..cb270bc00 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1492,6 +1492,7 @@ EOF # define lt_ptr_t void * #else # define lt_ptr_t char * +# define const #endif /* The mapping between symbol names and symbols. */