diff options
Diffstat (limited to 'src/include/cvc4_public.h')
-rw-r--r-- | src/include/cvc4_public.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/include/cvc4_public.h b/src/include/cvc4_public.h index 9f6dbd753..8dd164120 100644 --- a/src/include/cvc4_public.h +++ b/src/include/cvc4_public.h @@ -22,16 +22,6 @@ #include <stddef.h> #include <stdint.h> -#if defined _WIN32 || defined __CYGWIN__ -# define CVC4_PUBLIC -#else /* !( defined _WIN32 || defined __CYGWIN__ ) */ -# if __GNUC__ >= 4 -# define CVC4_PUBLIC __attribute__ ((__visibility__("default"))) -# else /* !( __GNUC__ >= 4 ) */ -# define CVC4_PUBLIC -# endif /* __GNUC__ >= 4 */ -#endif /* defined _WIN32 || defined __CYGWIN__ */ - // CVC4_UNUSED is to mark something (e.g. local variable, function) // as being _possibly_ unused, so that the compiler generates no // warning about it. This might be the case for e.g. a variable @@ -42,14 +32,12 @@ # define CVC4_NORETURN __attribute__ ((__noreturn__)) # define CVC4_CONST_FUNCTION __attribute__ ((__const__)) # define CVC4_PURE_FUNCTION __attribute__ ((__pure__)) -# define CVC4_DEPRECATED __attribute__ ((__deprecated__)) # define CVC4_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) #else /* ! __GNUC__ */ # define CVC4_UNUSED # define CVC4_NORETURN # define CVC4_CONST_FUNCTION # define CVC4_PURE_FUNCTION -# define CVC4_DEPRECATED # define CVC4_WARN_UNUSED_RESULT #endif /* __GNUC__ */ |