Skip to content

Commit

Permalink
Update flexdll.c
Browse files Browse the repository at this point in the history
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
  • Loading branch information
shym and dra27 authored Mar 3, 2023
1 parent 1a243e7 commit 611d5c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flexdll.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ typedef struct dlunit {
} dlunit;
typedef void *resolver(void*, const char*);

#ifdef _MSC_VER
#define __thread __declspec(thread)
#endif
static __thread int error = 0;
static __thread char error_buffer[256];

Expand Down

0 comments on commit 611d5c5

Please sign in to comment.