diff options
Diffstat (limited to 'gl/lib/mbrtowc.c')
-rw-r--r-- | gl/lib/mbrtowc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gl/lib/mbrtowc.c b/gl/lib/mbrtowc.c index c1a689a..8a1646d 100644 --- a/gl/lib/mbrtowc.c +++ b/gl/lib/mbrtowc.c @@ -1,5 +1,5 @@ /* Convert multibyte character to wide character. - Copyright (C) 1999-2002, 2005-2023 Free Software Foundation, Inc. + Copyright (C) 1999-2002, 2005-2024 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2008. This file is free software: you can redistribute it and/or modify @@ -28,7 +28,11 @@ # include <stdint.h> # include <stdlib.h> -# if defined _WIN32 && !defined __CYGWIN__ +# if AVOID_ANY_THREADS + +/* The option '--disable-threads' explicitly requests no locking. */ + +# elif defined _WIN32 && !defined __CYGWIN__ # define WIN32_LEAN_AND_MEAN /* avoid including junk */ # include <windows.h> |