diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 17:40:50 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 17:40:50 +0000 |
commit | e3c468f04035ce339c44e23742399159a65be905 (patch) | |
tree | 86d567f3b04d32c210a71e6eb1f8c59d1d0dc32d /misc/window/files/patch-mystring.h | |
parent | cad/calculix : update to version 2.17.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'misc/window/files/patch-mystring.h')
-rw-r--r-- | misc/window/files/patch-mystring.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/window/files/patch-mystring.h b/misc/window/files/patch-mystring.h new file mode 100644 index 000000000000..cf910fa746f6 --- /dev/null +++ b/misc/window/files/patch-mystring.h @@ -0,0 +1,11 @@ +--- mystring.h.orig 2008-07-12 06:05:22 UTC ++++ mystring.h +@@ -53,7 +53,7 @@ struct mystring { + char s_data[1]; + }; + +-struct mystring str_head; ++extern struct mystring str_head; + + #define str_offset ((unsigned)str_head.s_data - (unsigned)&str_head) + #define str_stos(s) ((struct mystring *)((unsigned)(s) - str_offset)) |