Changeset 21737 for branches/gcc-kmk/src/kernel32/directory.cpp
- Timestamp:
- Oct 24, 2011, 9:23:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/directory.cpp
r21720 r21737 30 30 #include <os2win.h> 31 31 #include <stdlib.h> 32 #include <string.h> 33 #ifdef __GNUC__ 34 #include <alloca.h> 35 #endif 32 36 #include <unicode.h> 33 37 #include <heapstring.h> … … 35 39 #include "initterm.h" 36 40 #include <win/file.h> 37 #include <string.h>38 41 #include "oslibdos.h" 39 42 #include "profile.h" … … 204 207 (len != 1) ) 205 208 { 206 LPSTR lpTemp = (LPSTR) _alloca(len);209 LPSTR lpTemp = (LPSTR)alloca(len); 207 210 lstrcpynA(lpTemp, 208 211 lpstrDirectory, … … 269 272 (lpstrDirectory[len - 1] == '/') ) 270 273 { 271 LPSTR lpTemp = (LPSTR) _alloca(len);274 LPSTR lpTemp = (LPSTR)alloca(len); 272 275 lstrcpynA(lpTemp, 273 276 lpstrDirectory, … … 533 536 (lpstrDirectory[len - 1] == '/') ) 534 537 { 535 LPSTR lpTemp = (LPSTR) _alloca(len);538 LPSTR lpTemp = (LPSTR)alloca(len); 536 539 lstrcpynA(lpTemp, 537 540 lpstrDirectory,
Note:
See TracChangeset
for help on using the changeset viewer.