Changeset 21398 for trunk/src/msvcrt/environ.c
- Timestamp:
- Jul 28, 2010, 8:14:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msvcrt/environ.c
r21395 r21398 26 26 #endif 27 27 28 #ifndef __MINIVCRT__ 29 28 30 #include "wine/unicode.h" 29 31 #include "msvcrt.h" … … 32 34 #include "msvcrt/stdlib.h" 33 35 34 35 36 #include "wine/debug.h" 36 37 37 38 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); 39 40 #else /* !__MINIVCRT__ */ 41 42 #include "minivcrt.h" 43 #include "minivcrt_internal.h" 44 45 #include "winternl.h" 46 #include "wine/unicode.h" 47 48 #endif /* !__MINIVCRT__ */ 49 50 #ifndef __MINIVCRT__ 38 51 39 52 /********************************************************************* … … 67 80 } 68 81 82 #endif /* !__MINIVCRT__ */ 83 69 84 /********************************************************************* 70 85 * _wgetenv (MSVCRT.@) … … 97 112 return NULL; 98 113 } 114 115 #ifndef __MINIVCRT__ 99 116 100 117 /********************************************************************* … … 130 147 } 131 148 149 #endif /* !__MINIVCRT__ */ 150 132 151 /********************************************************************* 133 152 * _wputenv (MSVCRT.@) … … 154 173 155 174 ret = !SetEnvironmentVariableW(name, value[0] ? value : NULL); 175 #ifndef __MINIVCRT__ 156 176 /* Update the __p__environ array only when already initialized */ 157 177 if (MSVCRT__environ) … … 159 179 if (MSVCRT__wenviron) 160 180 MSVCRT__wenviron = msvcrt_SnapshotOfEnvironmentW(MSVCRT__wenviron); 181 #endif /* !__MINIVCRT__ */ 161 182 return ret; 162 183 }
Note:
See TracChangeset
for help on using the changeset viewer.