Skip to content

Instantly share code, notes, and snippets.

@jpf91
Created February 15, 2012 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpf91/1837991 to your computer and use it in GitHub Desktop.
Save jpf91/1837991 to your computer and use it in GitHub Desktop.
-src/gdc/d/phobos2/config/unix.x3 config/unix.x3
--- ../toolchain-src/gdc/d/phobos2/config/unix.x3 2012-02-12 11:56:15.319606598 +0100
+++ config/unix.x3 2012-02-15 19:12:27.311007758 +0100
@@ -179,7 +179,7 @@
x3_out_type_ex("pthread_rwlockattr_t", NULL, X3_STRUCT_FALLBACK);
x3_out_type_ex("pthread_spinlock_t", NULL, X3_STRUCT_FALLBACK);
//x3_pop_optional();
- x3_out_enum(NULL, NULL, "^PTHREAD_CANCEL_.*", NULL);
+ //x3_out_enum(NULL, NULL, "^PTHREAD_CANCEL_.*", NULL);
}
x3_gi_pop_header();
@@ -290,11 +290,11 @@
x3_gi_pop_headers(4);
x3_gi_pop_headers(pop_count);
-x3_gi_push_header("<pwd.h>");
-x3_out_struct("struct passwd", NULL, "pw_name", "pw_passwd", "i:pw_uid", "i:pw_gid",
- "pw_gecos", "pw_dir", "pw_shell",
- "o:pw_change", "o:pw_class", "o:pw_expire", NULL);
-x3_gi_pop_header();
+//x3_gi_push_header("<pwd.h>");
+//x3_out_struct("struct passwd", NULL, "pw_name", "pw_passwd", "i:pw_uid", "i:pw_gid",
+// "pw_gecos", "pw_dir", "pw_shell",
+// "o:pw_change", "o:pw_class", "o:pw_expire", NULL);
+//x3_gi_pop_header();
x3_gi_push_header("<termios.h>");
@@ -306,8 +306,8 @@
x3_out_enum(NULL, NULL, "^TC[IOS].*", NULL);
-x3_out_struct("struct termios", NULL,
- "i:c_iflag", "i:c_oflag", "i:c_cflag", "i:c_lflag",
- "oc:c_line", "c:c_cc",
- "oi:c_ispeed", "oi:c_ospeed");
-x3_gi_pop_header();
+//x3_out_struct("struct termios", NULL,
+// "i:c_iflag", "i:c_oflag", "i:c_cflag", "i:c_lflag",
+// "oc:c_line", "c:c_cc",
+// "oi:c_ispeed", "oi:c_ospeed");
+//x3_gi_pop_header();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment