diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-03-26 19:21:20 +0000 |
---|---|---|
committer | <> | 2014-05-08 15:03:54 +0000 |
commit | fb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch) | |
tree | c2103d76aec5f1f10892cd1d3a38e24f665ae5db /include/VBox/cdefs.h | |
parent | 58ed4748338f9466599adfc8a9171280ed99e23f (diff) | |
download | VirtualBox-fb123f93f9f5ce42c8e5785d2f8e0edaf951740e.tar.gz |
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'include/VBox/cdefs.h')
-rw-r--r-- | include/VBox/cdefs.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/VBox/cdefs.h b/include/VBox/cdefs.h index 652f7f6b..0744b763 100644 --- a/include/VBox/cdefs.h +++ b/include/VBox/cdefs.h @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 2006-2007 Oracle Corporation + * Copyright (C) 2006-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -203,9 +203,17 @@ * @param type The return type of the function declaration. */ #ifdef IN_SUP_R3 -# define SUPR3DECL(type) DECLEXPORT(type) VBOXCALL +# ifdef IN_SUP_STATIC +# define SUPR3DECL(type) DECLHIDDEN(type) VBOXCALL +# else +# define SUPR3DECL(type) DECLEXPORT(type) VBOXCALL +# endif #else -# define SUPR3DECL(type) DECLIMPORT(type) VBOXCALL +# ifdef IN_SUP_STATIC +# define SUPR3DECL(type) DECLHIDDEN(type) VBOXCALL +# else +# define SUPR3DECL(type) DECLIMPORT(type) VBOXCALL +# endif #endif /** @def IN_SUP_R0 @@ -409,7 +417,7 @@ * VMM internal function, ring-0 + raw-mode context. * @param type The return type of the function declaration. */ -#ifdef IN_VMM_RZ +#if defined(IN_VMM_RC) || defined(IN_VMM_R0) # define VMMRZ_INT_DECL(type) DECLHIDDEN(type) VBOXCALL #else # define VMMRZ_INT_DECL(type) DECL_INVALID(type) |