[Commit] slim/src slim_internal.h,1.1,1.2

Richard Henderson commit at keithp.com
Thu Jul 31 03:14:13 PDT 2003


Committed by: rth

Update of /local/src/CVS/slim/src
In directory home.keithp.com:/tmp/cvs-serv28972/src

Modified Files:
	slim_internal.h 
Log Message:
        * src/slim_internal.h (__internal_linkage): Attribute visibility
        not present until gcc 3.3.


Index: slim_internal.h
===================================================================
RCS file: /local/src/CVS/slim/src/slim_internal.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- slim_internal.h	30 Jul 2003 16:14:23 -0000	1.1
+++ slim_internal.h	31 Jul 2003 09:14:10 -0000	1.2
@@ -42,11 +42,11 @@
 
 	extern int somedata __internal_linkage;
 
-   The ELF visibility attribute did not exist before gcc 3.2.  */
+   The ELF visibility attribute did not exist before gcc 3.3.  */
 /* ??? Not marked with "slim" because that makes it look too much
    like the function name instead of just an attribute.  */
 
-#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)) && defined(__ELF__)
+#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__)
 #define __internal_linkage	__attribute__((__visibility__("hidden")))
 #else
 #define __internal_linkage




More information about the Commit mailing list