Moved _T to emgui/types.h as we use it elsewhere now

This commit is contained in:
Daniel Collin 2013-01-09 19:20:07 +01:00
parent b1e1f7cf0a
commit 897af3fc4b
2 changed files with 2 additions and 7 deletions

View File

@ -9,7 +9,6 @@ typedef unsigned int uint;
#if defined(_WIN32)
#if defined(__GNUC__)
#include <stdint.h>
#else
@ -70,6 +69,8 @@ typedef wchar_t text_t;
#define EMGUI_ALIGNOF(t) __alignof__(t)
#define EMGUI_BREAK ((*(volatile uint32_t *)(0)) = 0x666)
#define _T(v) v
typedef char text_t;
#include <stdbool.h>

View File

@ -3,12 +3,6 @@
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef _WIN32
#define _T(v) v
#endif
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
MenuDescriptor g_fileMenu[] =
{
{ _T("Open..."), EDITOR_MENU_OPEN, 'o', EMGUI_KEY_COMMAND, EMGUI_KEY_CTRL },