Commit 18243fc9 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5351 fix darwin build of examples/


git-svn-id: file:///svn/toku/tokudb@50367 c7de825b-a66e-492c-adef-691d508d4ae1
parent c85623e5
...@@ -512,6 +512,8 @@ int main (int argc, char *const argv[] __attribute__((__unused__))) { ...@@ -512,6 +512,8 @@ int main (int argc, char *const argv[] __attribute__((__unused__))) {
printf("#include <sys/types.h>\n"); printf("#include <sys/types.h>\n");
printf("/*stdio is needed for the FILE* in db->verify*/\n"); printf("/*stdio is needed for the FILE* in db->verify*/\n");
printf("#include <stdio.h>\n"); printf("#include <stdio.h>\n");
printf("/*stdbool is needed for the bool in db_env_enable_engine_status*/\n");
printf("#include <stdbool.h>\n");
printf("#include <stdint.h>\n"); printf("#include <stdint.h>\n");
//printf("#include <inttypes.h>\n"); //printf("#include <inttypes.h>\n");
printf("#if defined(__cplusplus) || defined(__cilkplusplus)\nextern \"C\" {\n#endif\n"); printf("#if defined(__cplusplus) || defined(__cilkplusplus)\nextern \"C\" {\n#endif\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment