Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / gnu / usr.bin / cc34 / cc_prep / patches / c-pragma.h.patch
1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/c-pragma.h.patch,v 1.1 2004/12/21 13:10:48 joerg Exp $
2
3 ===================================================================
4 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/c-pragma.h,v
5 retrieving revision 1.1
6 diff -u -r1.1 c-pragma.h
7 --- c-pragma.h  20 Jun 2004 02:14:48 -0000      1.1
8 +++ c-pragma.h  20 Dec 2004 20:51:42 -0000
9 @@ -44,6 +44,11 @@
10  #define HANDLE_PRAGMA_PACK 1
11  #endif /* HANDLE_PRAGMA_PACK_PUSH_POP */
12  
13 +/* It's safe to always leave visibility pragma enabled as if
14 +   visibility is not supported on the host OS platform the
15 +   statements are ignored.  */
16 +#define HANDLE_PRAGMA_VISIBILITY 1
17 +
18  extern void init_pragma (void);
19  
20  /* Front-end wrapper for pragma registration to avoid dragging