Changeset 13771 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Nov 3, 2008 7:49:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.h
r13738 r13771 390 390 do{ \ 391 391 int rc; \ 392 rc = RTSemFastMutexRequest((x)); \392 rc = RTSemFastMutexRequest((x)); \ 393 393 AssertReleaseRC(rc); \ 394 394 }while (0) … … 397 397 do{ \ 398 398 int rc; \ 399 rc = RTSemFastMutexRelease((x)); 399 rc = RTSemFastMutexRelease((x)); \ 400 400 AssertReleaseRC(rc); \ 401 401 }while (0) … … 404 404 do{ \ 405 405 int rc; \ 406 rc = RTSemFastMutexCreate((x)); 406 rc = RTSemFastMutexCreate((x)); \ 407 407 AssertReleaseRC(rc); \ 408 408 }while (0) … … 411 411 do{ \ 412 412 int rc; \ 413 rc = RTSemFastMutexDestroy((x)); 413 rc = RTSemFastMutexDestroy((x)); \ 414 414 AssertReleaseRC(rc); \ 415 415 }while (0) 416 416 #else 417 #define VBOX_SLIRP_LOCK(x) /* ignore */418 #define VBOX_SLIRP_UNLOCK(x) /* ignore */419 #define VBOX_SLIRP_LOCK_DESTROY(x) /* ignore */420 #define VBOX_SLIRP_LOCK_CREATE(x) /* ignore */421 #endif 422 423 #endif 417 #define VBOX_SLIRP_LOCK(x) do {} while (0) 418 #define VBOX_SLIRP_UNLOCK(x) do {} while (0) 419 #define VBOX_SLIRP_LOCK_DESTROY(x) do {} while (0) 420 #define VBOX_SLIRP_LOCK_CREATE(x) do {} while (0) 421 #endif 422 423 #endif
Note:
See TracChangeset
for help on using the changeset viewer.