]> git.saurik.com Git - apple/libinfo.git/blobdiff - dns.subproj/res_data.c
Libinfo-324.tar.gz
[apple/libinfo.git] / dns.subproj / res_data.c
index 4f19602b74977ed3e1e9d2155a85f203b30342ce..d193e991d6f52a7659ba666fc8152862dfa1439f 100644 (file)
 #if defined(__APPLE__)
 
 /*
- * _res is declared to be the same siae as struct __res_9_state
+ * _res is declared to be the same size as struct __res_9_state
  * This allows both the BIND-8 library in libSystem (this one)
  * and the new BIND-9 library in libresolv to share the same
  * structure.  We ues the __res_9_state's _pad variable to store
  * a version number when _res have been initialized by the BIND-9
  * library, and take precautions to make them work together.
  */
+#ifdef __LP64__
+#define RES_9_STATE_SIZE 552
+#else
 #define RES_9_STATE_SIZE 512
+#endif
+
 char _res[RES_9_STATE_SIZE] = {0};
 int _net_stayopen = 0;
 #endif