Fix where the cplusplus headers go

git-svn-id: file:///svn/tokudb@244 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Bradley C. Kuszmaul 2007-09-04 21:40:11 +00:00
parent e5a90933be
commit 356e2cb4c9

View file

@ -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;
}