]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/host_info.h
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / osfmk / mach / host_info.h
index 2bca65e0d02f991bca61c531d4ce3010d181d4b2..12d8b3e454c43691c1de2a70a46e5b8bca653007 100644 (file)
@@ -125,7 +125,7 @@ typedef struct host_can_has_debugger_info       *host_can_has_debugger_info_t;
 #define HOST_CAN_HAS_DEBUGGER_COUNT ((mach_msg_type_number_t) \
                (sizeof(host_can_has_debugger_info_data_t)/sizeof(integer_t)))
 
 #define HOST_CAN_HAS_DEBUGGER_COUNT ((mach_msg_type_number_t) \
                (sizeof(host_can_has_debugger_info_data_t)/sizeof(integer_t)))
 
-#pragma pack(4)
+#pragma pack(push, 4)
 
 struct host_basic_info {
        integer_t               max_cpus;               /* max number of CPUs possible */
 
 struct host_basic_info {
        integer_t               max_cpus;               /* max number of CPUs possible */
@@ -141,7 +141,7 @@ struct host_basic_info {
        uint64_t                max_mem;                /* actual size of physical memory */
 };
 
        uint64_t                max_mem;                /* actual size of physical memory */
 };
 
-#pragma pack()
+#pragma pack(pop)
 
 typedef struct host_basic_info  host_basic_info_data_t;
 typedef struct host_basic_info  *host_basic_info_t;
 
 typedef struct host_basic_info  host_basic_info_data_t;
 typedef struct host_basic_info  *host_basic_info_t;