Changeset 24577 in vbox
- Timestamp:
- Nov 11, 2009 10:31:52 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54708
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cdefs.h
r22802 r24577 179 179 180 180 /** @def IN_SUP_R0 181 * Used to indicate whether we're inside the same link module as the Ring 0 Support Library or not. 181 * Used to indicate whether we're inside the same link module as the Ring 0 182 * Support Library or not. 183 */ 184 /** @def IN_SUP_STATIC 185 * Used to indicate that the Support Library is built or used as a static 186 * library. 182 187 */ 183 188 /** @def SUPR0DECL(type) … … 244 249 245 250 251 /** @def IN_VMM_STATIC 252 * Used to indicate that the virtual machine monitor is built or used as a 253 * static library. 254 */ 246 255 /** @def IN_VMM_R3 247 256 * Used to indicate whether we're inside the same link module as the ring 3 part of the … … 253 262 */ 254 263 #ifdef IN_VMM_R3 255 # define VMMR3DECL(type) DECLEXPORT(type) VBOXCALL 264 # ifdef IN_VMM_STATIC 265 # define VMMR3DECL(type) DECLHIDDEN(type) VBOXCALL 266 # else 267 # define VMMR3DECL(type) DECLEXPORT(type) VBOXCALL 268 # endif 256 269 #elif defined(IN_RING3) 257 # define VMMR3DECL(type) DECLIMPORT(type) VBOXCALL 270 # ifdef IN_VMM_STATIC 271 # define VMMR3DECL(type) DECLHIDDEN(type) VBOXCALL 272 # else 273 # define VMMR3DECL(type) DECLIMPORT(type) VBOXCALL 274 # endif 258 275 #else 259 276 # define VMMR3DECL(type) DECL_INVALID(type) … … 308 325 * @param type The return type of the function declaration. 309 326 */ 310 #if defined(IN_VMM_R3) || defined(IN_VMM_R0) || defined(IN_VMM_RC) 327 #ifdef IN_VMM_STATIC 328 # define VMMDECL(type) DECLHIDDEN(type) VBOXCALL 329 #elif defined(IN_VMM_R3) || defined(IN_VMM_R0) || defined(IN_VMM_RC) 311 330 # define VMMDECL(type) DECLEXPORT(type) VBOXCALL 312 331 #else -
trunk/src/VBox/Main/Makefile.kmk
r24574 r24577 198 198 VBoxSVC_DEFS = \ 199 199 VBOX_MAIN_SETTINGS_ADDONS \ 200 IN_VMM_STATIC \ 200 201 $(VBOX_MAIN_DEFS) \ 201 202 $(if $(VBOX_WITH_VBOXSDL),VBOX_WITH_VBOXSDL,) \ -
trunk/src/VBox/VMM/Makefile.kmk
r24574 r24577 237 237 LIBRARIES += SSMStandalone 238 238 SSMStandalone_TEMPLATE = VBOXR3EXE 239 SSMStandalone_DEFS = IN_VMM_R3 SSM_STANDALONE239 SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE 240 240 SSMStandalone_SOURCES = SSM.cpp 241 241
Note:
See TracChangeset
for help on using the changeset viewer.