/trunk/telegraphics_common/adobeplugin/world.h |
---|
120,4 → 120,12 |
#define snprintf _snprintf |
#endif /* _MSC_VER */ |
#ifndef WIN_ENV |
#ifdef UNICODE |
typedef wchar_t TCHAR; |
#else |
typedef char TCHAR; |
#endif |
#endif |
#endif |
/trunk/telegraphics_common/tt/choosefile.h |
---|
20,6 → 20,8 |
#ifndef CHOOSEFILE_H_ |
#define CHOOSEFILE_H_ |
#include "world.h" |
#ifdef macintosh |
#ifdef __GNUC__ // FIXME: this isn't the right define |
typedef struct StandardFileReply { |
/trunk/telegraphics_common/tt/dbg.h |
---|
20,7 → 20,11 |
#ifndef DBG_H_ |
#define DBG_H_ |
#ifdef WIN_ENV |
#include <windows.h> |
#else |
#include "world.h" // TCHAR definition |
#endif |
void dbg(TCHAR *s); |
int dprintf (const char *fmt, ...); |
/trunk/telegraphics_common/tt/dbg_win.c |
---|
17,8 → 17,6 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
*/ |
#include <windows.h> |
#include "dbg.h" |
#include "str.h" |