Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
commit
cdf7735a77
206 changed files with 8437 additions and 6403 deletions
|
@ -4,6 +4,12 @@
|
|||
** Author: Justin Frankel
|
||||
** File: netinc.h - network includes and portability defines (used internally)
|
||||
** License: zlib
|
||||
**
|
||||
** Reviewed for Unicode Support by Jim Park -- 08/17/2007
|
||||
** Note: The functions that work on char's should be explicitely set to use the
|
||||
** ANSI versions. Some of the functions like lstrcpy() are #defined to be
|
||||
** the wide-char versions when _UNICODE is defined. So these must be explictly
|
||||
** set to use the ANSI versions.
|
||||
*/
|
||||
|
||||
#ifndef _NETINC_H_
|
||||
|
@ -72,10 +78,10 @@ extern void mini_memset(void *,char,int);
|
|||
extern void mini_memcpy(void *,void*,int);
|
||||
#define memset mini_memset
|
||||
#define memcpy mini_memcpy
|
||||
#define strcpy lstrcpy
|
||||
#define strncpy lstrcpyn
|
||||
#define strcat lstrcat
|
||||
#define strlen lstrlen
|
||||
#define strcpy lstrcpyA
|
||||
#define strncpy lstrcpynA
|
||||
#define strcat lstrcatA
|
||||
#define strlen lstrlenA
|
||||
#define malloc(x) GlobalAlloc(GPTR,(x))
|
||||
#define free(x) { if (x) GlobalFree(x); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue