Subversion Repositories filter_foundry

Compare Revisions

No changes between revisions

Regard whitespace Rev 558 → Rev 559

/trunk/cw7
Property changes:
Added: svn:ignore
+filterfoundry_cw7_Data
/trunk/load_mac.c
59,7 → 59,7
return MSG_INCOMPATIBLE_OBFUSCATION_ID;
}
}
if (!res) {
if (res != LOADING_OK) {
gdata->obfusc = false;
}
return res;
/trunk/main.c
81,7 → 81,7
return hash;
}
 
size_t get_temp_afs(LPTSTR outfilename, Boolean isStandalone, PARM_T *parm) {
size_t get_temp_afs(TCHAR* outfilename, Boolean isStandalone, PARM_T *parm) {
char* atempdir;
int hash;
size_t i, j;
133,12 → 133,15
return res;
}
 
#ifdef WIN_ENV
BOOL CalledFromRunDLL32(HINSTANCE hinst) {
char exename[MAX_PATH];
if (GetModuleFileNameA(hinst, exename, MAX_PATH) == 0) return false;
return stristr(exename, "rundll32") != NULL;
}
#endif
 
#ifdef WIN_ENV
void CALLBACK FakeRundll32(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) {
UNREFERENCED_PARAMETER(hwnd);
UNREFERENCED_PARAMETER(hinst);
158,6 → 161,7
 
return;
}
#endif
 
void CreateDataPointer(intptr_t* data) {
// Register "gdata" that contains the PARM information and other things which need to be persistant
274,11 → 278,10
 
goto endmain;
}
else {
#endif
 
// will be changed if an error happens
*result = noErr;
}
#endif
 
#ifdef SHOW_HOST_DEBUG
tmp = (char*)malloc(512);
/trunk/telegraphics_common/adobeplugin/world.h
35,6 → 35,19
typedef long intptr_t;
#endif
 
#ifndef WIN_ENV
#ifdef UNICODE
typedef wchar_t TCHAR;
#else
typedef char TCHAR;
#endif
#endif
 
#ifndef WIN_ENV
// ???
#define MAX_PATH 255
#endif
 
#include "dbg.h"
#include "str.h"
 
120,12 → 133,4
#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/str.h
24,11 → 24,13
#ifndef STR_H_
#define STR_H_
 
#ifdef MAC_ENV
#ifndef WIN_ENV
#ifdef UNICODE
#define TCHAR wchar_t
//#define TCHAR wchar_t
typedef wchar_t TCHAR;
#else
#define TCHAR char
//#define TCHAR char
typedef char TCHAR;
#endif
#endif