Changeset 39006
- Timestamp:
- 09/19/11 22:05:39 (20 months ago)
- Location:
- lang/c/NetworkUpdater/trunk/Build
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/c/NetworkUpdater/trunk/Build/Common.h
r39004 r39006 70 70 NUI_HASH_NONE = 0, 71 71 NUI_HASH_MD5 = 1, 72 NUI_HASH_SHA1 = 2 ,72 NUI_HASH_SHA1 = 2 73 73 } NUI_HashType; 74 74 -
lang/c/NetworkUpdater/trunk/Build/MSW.am
r39004 r39006 23 23 24 24 BUILT_SOURCES = \ 25 $(srcdir)/../Windows/NetworkUpdater.h \ 25 26 $(srcdir)/../Windows/NetworkUpdater.c \ 26 27 UnCab.exe.inl \ -
lang/c/NetworkUpdater/trunk/Build/MSW.c
r39005 r39006 83 83 */ 84 84 } 85 86 #ifdef __CYGWIN__ 87 88 FILE* cygwin_psedo_wfopen(const wchar_t* filename, const wchar_t* mode) { 89 char* filenameA = NULL; 90 char* modeA = NULL; 91 FILE* f = NULL; 92 93 filenameA = NUI_WideCharToMultiByteDup(filename); 94 if (!filenameA) { 95 goto clean_up; 96 } 97 modeA = NUI_WideCharToMultiByteDup(mode); 98 if (!modeA) { 99 goto clean_up; 100 } 101 102 f = fopen(filenameA, modeA); 103 104 clean_up: 105 free(filenameA); 106 free(modeA); 107 return f; 108 } 109 110 #endif 85 111 86 112 /* �O���[�o���ϐ��ƃ��b�N��� -
lang/c/NetworkUpdater/trunk/Build/MSW.h
r39004 r39006 30 30 # define _tcscat wcscat 31 31 # define _tcsdup wcsdup 32 # define _tfopen(x, y) *CURRENTLY_NOT_SUPPORTED*32 # define _tfopen(x, y) cygwin_pseudo_wfopen(x, y) 33 33 # define _tprintf wprintf 34 34 # define NUI_CCP_POSIX_TO_WIN CCP_POSIX_TO_WIN_W
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)