Changeset 13775 in vbox
- Timestamp:
- Nov 4, 2008 8:35:37 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38756
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/param.h
r8245 r13775 40 40 41 41 /* Undefine PAGE_SIZE and PAGE_SHIFT to avoid unnecessary noice when clashing 42 43 42 * with system headers. Include system headers before / after iprt depending 43 * on which you wish to take precedence. */ 44 44 #undef PAGE_SIZE 45 45 #undef PAGE_SHIFT 46 47 /* Undefine PAGE_OFFSET_MASK to avoid the conflict with the-linux-kernel.h */ 48 #undef PAGE_OFFSET_MASK 46 49 47 50 /** -
trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp
r11521 r13775 34 34 *******************************************************************************/ 35 35 #define LOG_GROUP RTLOGGROUP_DEFAULT 36 37 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE) 38 /* should come first to prevent warnings about duplicate definitions of PAGE_* */ 39 # include "the-linux-kernel.h" 40 #endif 41 36 42 #include <iprt/heap.h> 37 43 #include <iprt/assert.h> … … 44 50 #include "internal/magics.h" 45 51 46 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)47 #include "the-linux-kernel.h"48 EXPORT_SYMBOL(RTHeapSimpleAlloc);49 EXPORT_SYMBOL(RTHeapSimpleInit);50 EXPORT_SYMBOL(RTHeapSimpleFree);51 #endif52 52 53 53 /******************************************************************************* … … 939 939 } 940 940 941 942 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE) 943 EXPORT_SYMBOL(RTHeapSimpleAlloc); 944 EXPORT_SYMBOL(RTHeapSimpleInit); 945 EXPORT_SYMBOL(RTHeapSimpleFree); 946 #endif
Note:
See TracChangeset
for help on using the changeset viewer.