diff options
Diffstat (limited to 'science/openstructure/files/patch-modules_config_base.hh')
-rw-r--r-- | science/openstructure/files/patch-modules_config_base.hh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/science/openstructure/files/patch-modules_config_base.hh b/science/openstructure/files/patch-modules_config_base.hh deleted file mode 100644 index 5d29060e4768..000000000000 --- a/science/openstructure/files/patch-modules_config_base.hh +++ /dev/null @@ -1,29 +0,0 @@ ---- modules/config/base.hh.orig 2018-07-09 01:41:40 UTC -+++ modules/config/base.hh -@@ -56,22 +56,26 @@ typedef unsigned short Word; - #ifndef round_function - #define round_function - #ifndef round -+#if !defined(__FreeBSD__) - inline Real round( Real d ) - { - return floor(d+Real(0.5)); - } - #endif - #endif -+#endif - - #ifndef rint_function - #define rint_function - #ifndef rint -+#if !defined(__FreeBSD__) - inline Real rint(Real d) - { - return floor(d+Real(0.5)); - } - #endif - #endif -+#endif - - #if _MSC_VER - #pragma warning(disable:4251) |