File tree Expand file tree Collapse file tree 7 files changed +62
-76
lines changed Expand file tree Collapse file tree 7 files changed +62
-76
lines changed Original file line number Diff line number Diff line change 1- # Libplatform's gitignore
2-
3- # Build output directory
1+ # CMake build files
42build /
3+ CMakeFiles
4+ * .so
5+ * .so. * . * . *
6+ * .a
7+ * .dylib
8+ * .stackdump
9+ * .lib
10+ * .pdb
11+ * .dll
12+ * .exe
13+ cmake_install.cmake
14+ CMakeCache.txt
15+ CTestTestfile.cmake
16+ DartConfiguration.tcl
17+ Makefile
18+ uninstall.cmake
19+ CTestCostData.txt
20+ * .inst
21+ Testing
22+ * .log
23+ * .dSYM
524
6- # Editor profile directory
7- .vscode /
8-
9- # Autoconf temps
10- autom4te.cache /
11- aclocal.m4
12- configure
13-
14- # Configure outputs
15- config.log
16- config.status
25+ # Patterns for all subdirectories: all kinds of automatic backup files.
26+ * .orig
27+ * .rej
28+ * ~
29+ * .kate-swp
30+ * .swp
31+ . #*
32+ \# * #
33+ .vscode
1734
18- # Build outputs
19- include /libplatform.h
20- Makefile
35+ # Autopull modules
36+ build-aux
2137
22- # Dist directory
23- libplatform- *
38+ # Dist directory and temps
39+ cppp-platform-v *
40+ __pycache__
Original file line number Diff line number Diff line change 1+ /**
2+ * @file cppp/cppp-platform.h
3+ * @author ChenPi11
4+ * @copyright Copyright (C) 2023 The C++ Plus Project
5+ * @date 2023-08-07
6+ * @brief C++ Plus platform predefined detection.
7+ * @version @PROJECT_VERSION@
8+ * @see https://sourceforge.net/p/predef/wiki/Home/
9+ * @link https://github.com/cppp-project/cppp-platform
10+ */
11+
12+ #ifndef _CPPP_PLATFORM_H
13+ #define _CPPP_PLATFORM_H
14+ /* Architectures detection. */
15+ @ARCHITECTURES @
16+
17+ /* Compilers detection. */
18+ @COMPILERS @
19+
20+ /* C/C++ standards detection. */
21+ @LANGUAGESTANDARDS @
22+
23+ /* Platforms detection. */
24+ @PLATFORMS @
25+ #endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- /* ============================================================================================= */
2- /* Libplatform architecture detection. */
3-
41/* Alpha */
52#define __arch_alpha__ 1
63/* x86 */
165162#endif
166163
167164#ifndef __POINTER_WIDTH__
168- /* pointer width 64/32/16... */
165+ /* Pointer width 64/32/16... */
169166#define __POINTER_WIDTH__ (long)(sizeof(void*) * 8)
170167#endif
171168/* Fix amd64 and 8086 bug */
Original file line number Diff line number Diff line change 1- /* ============================================================================================= */
2- /* Libplatform compilers detection. */
3-
41/* ACC */
52#define __has_acc_compiler__ 0
63/* Altium MicroBlaze C */
Original file line number Diff line number Diff line change 1- /*=============================================================================================*/
2- /* Libplatform C/C++ standards detection. */
3-
41/* STD C94 */
52#define __stdc_c94__ 199409L
63/* STD C99 */
Original file line number Diff line number Diff line change 1- /* ============================================================================================= */
2- /* Libplatform platforms detection. */
3-
41/* No AIX */
52#define __has_aix__ 0
63/* No Android */
You can’t perform that action at this time.
0 commit comments