/[make]/make/w32/subproc/w32err.c
ViewVC logotype

Diff of /make/w32/subproc/w32err.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by psmith, Mon Feb 23 06:25:54 2004 UTC revision 1.5 by psmith, Sat Feb 26 01:41:49 2005 UTC
# Line 11  Line 11 
11   */   */
12  char *  char *
13  map_windows32_error_to_string (DWORD ercode) {  map_windows32_error_to_string (DWORD ercode) {
14  /* __declspec (thread) necessary if you will use multiple threads */  /* __declspec (thread) necessary if you will use multiple threads on MSVC */
15    #ifdef _MSC_VER
16  __declspec (thread) static char szMessageBuffer[128];  __declspec (thread) static char szMessageBuffer[128];
17    #else
18    static char szMessageBuffer[128];
19    #endif
20          /* Fill message buffer with a default message in          /* Fill message buffer with a default message in
21           * case FormatMessage fails           * case FormatMessage fails
22           */           */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26