📄 xm-cygwin.h
字号:
/* Configuration for GNU C-compiler for hosting on Windows NT. using a unix style C library. Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.This file is part of GNU CC.GNU CC is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU CC is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU CC; see the file COPYING. If not, write tothe Free Software Foundation, 59 Temple Place - Suite 330,Boston, MA 02111-1307, USA. */#define EXECUTABLE_SUFFIX ".exe"#define NO_SYS_SIGLIST 1/* We support both "/" and "\" since everybody tests both but we default to "/". This is important because if gcc produces Win32 paths containing backslashes, make and configure may treat the backslashes as escape characters. Many Win32 programs use forward slashes so using a forward slash shouldn't be problematic from the perspective of wanting gcc to produce native Win32 paths. */#define DIR_SEPARATOR '/'#define DIR_SEPARATOR_2 '\\'/* Convert win32 style path lists to POSIX style for consistency. */ #undef GET_ENV_PATH_LIST#define GET_ENV_PATH_LIST(VAR,NAME) \do { \ char *_epath; \ char *_posixepath; \ _epath = _posixepath = getenv (NAME); \ /* if we have a posix path list, convert to posix path list */ \ if (_epath != NULL && *_epath != 0 \ && ! cygwin_posix_path_list_p (_epath)) \ { \ char *p; \ _posixepath = (char *) xmalloc \ (cygwin_win32_to_posix_path_list_buf_size (_epath)); \ cygwin_win32_to_posix_path_list (_epath, _posixepath); \ } \ (VAR) = _posixepath; \} while (0)#define PATH_SEPARATOR ':'/* This is needed so that protoize will compile. */#ifndef POSIX#define POSIX#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -