Disable tests for strdup/strndup on __hpux__
[official-gcc.git] / gcc / jit / jit-w32.h
blobe0fc35f42d30f0f676c364e9030dccdcf2fee70c
1 /* Functions used by the Windows port of libgccjit.
2 Copyright (C) 2020-2024 Free Software Foundation, Inc.
3 Contributed by Nicolas Bertolo <nicolasbertolo@gmail.com>.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #include "config.h"
23 #define WIN32_LEAN_AND_MEAN
24 #include <windows.h>
26 namespace gcc {
27 namespace jit {
28 extern void print_last_error (void);
29 extern char * win_mkdtemp(void);