Changeset 22400 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 24, 2009 5:23:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/counters.h
r22249 r22400 24 24 */ 25 25 26 #if ndef PROFILE_COUNTER27 # error PROFILE_COUNTER is not defied26 #if !defined(PROFILE_COUNTER) && !(DRV_PROFILE_COUNTER) 27 # error (DRV_)PROFILE_COUNTER is not defied 28 28 #endif 29 #ifndef COUNTING_COUNTER 30 # error COUNTING_COUNTER is not defined 29 #if !defined(COUNTING_COUNTER) && !(DRV_COUNTING_COUNTER) 30 # error (DRV_)COUNTING_COUNTER is not defined 31 #endif 32 33 /* 34 * DRV_ prefixed are counters used in DrvNAT the rest are used in Slirp 35 */ 36 #ifdef DRV_PROFILE_COUNTER 37 # define PROFILE_COUNTER(name, dsc) do {} while (0) 38 #endif 39 #ifdef DRV_COUNTING_COUNTER 40 # define COUNTING_COUNTER(name, dsc) do {} while (0) 41 #endif 42 43 #ifdef PROFILE_COUNTER 44 # define DRV_PROFILE_COUNTER(name, dsc) do {} while (0) 45 #endif 46 #ifdef COUNTING_COUNTER 47 # define DRV_COUNTING_COUNTER(name, dsc) do {} while (0) 31 48 #endif 32 49
Note:
See TracChangeset
for help on using the changeset viewer.