Initial version of CrossReport program.
[fedora-mingw.git] / openssl / mingw32-openssl-0.9.8g-global.patch
1 Fix global variable macros.
2
3  - RWMJ 2008-09-30
4
5 diff -ur openssl-0.9.8g.orig/e_os2.h openssl-0.9.8g.mingw/e_os2.h
6 --- openssl-0.9.8g.orig/e_os2.h 2005-12-18 18:57:07.000000000 +0000
7 +++ openssl-0.9.8g.mingw/e_os2.h        2008-09-30 14:27:53.000000000 +0100
8 @@ -264,7 +264,7 @@
9  # define OPENSSL_IMPLEMENT_GLOBAL(type,name)                        \
10         extern type _hide_##name;                                    \
11         type *_shadow_##name(void) { return &_hide_##name; }         \
12 -       static type _hide_##name
13 +       type _hide_##name
14  # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)
15  # define OPENSSL_GLOBAL_REF(name) (*(_shadow_##name()))
16  #else