Commit c76b4f0e authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Fix where the cplusplus headers go

git-svn-id: file:///svn/tokudb@244 c7de825b-a66e-492c-adef-691d508d4ae1
parent e268a062
......@@ -77,10 +77,10 @@ int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__un
printf("#define _DB_H\n");
printf("/* This code generated by make_db_h. Copyright (c) 2007 Tokutek */\n");
printf("#if defined(__cplusplus)\nextern \"C\" {\n#endif\n");
printf("#if defined(__cplusplus)\n}\n#endif\n");
printf("typedef struct __toku_db DB;\n");
print_dbtype();
print_db_struct();
printf("#if defined(__cplusplus)\n}\n#endif\n");
printf("#endif\n");
return 0;
}
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