16 #if defined(_WIN32) || defined(__OS2__)
19 void setbinmode(FILE *);
21 #define DEFAULT_NAMEFMT_REMOVE "/\\:<>|"
22 #define DEFAULT_NAMEFMT_REPLACE ""
24 #else /* Unix, mostly */
26 #define setbinmode(x) {}
27 #define DEFAULT_NAMEFMT_REMOVE "/"
28 #define DEFAULT_NAMEFMT_REPLACE ""
34 extern FILE *oggenc_fopen(char *fn, char *mode, int isutf8);
35 extern void get_args_from_ucs16(int *argc, char ***argv);
39 #define oggenc_fopen(x,y,z) fopen(x,y)
40 #define get_args_from_ucs16(x,y) { }
44 #endif /* __PLATFORM_H */