Sat May 21 15:38:19 2022 UTC ()
guide: remove __unix, pointed out by wiz, it's actually __unix__, but not
defined by macOS


(nia)
diff -r1.177 -r1.178 pkgsrc/doc/guide/files/fixes.xml

cvs diff -r1.177 -r1.178 pkgsrc/doc/guide/files/fixes.xml (expand / switch to unified diff)

--- pkgsrc/doc/guide/files/fixes.xml 2022/05/21 11:56:14 1.177
+++ pkgsrc/doc/guide/files/fixes.xml 2022/05/21 15:38:19 1.178
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1<!-- $NetBSD: fixes.xml,v 1.177 2022/05/21 11:56:14 nia Exp $ --> 1<!-- $NetBSD: fixes.xml,v 1.178 2022/05/21 15:38:19 nia Exp $ -->
2 2
3<chapter id="fixes"> <?dbhtml filename="fixes.html"?> 3<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
4<title>Making your package work</title> 4<title>Making your package work</title>
5 5
6<sect1 id="general-operation"> 6<sect1 id="general-operation">
7 <title>General operation</title> 7 <title>General operation</title>
8 8
9 <para>One appealing feature of pkgsrc is that it runs on many 9 <para>One appealing feature of pkgsrc is that it runs on many
10 different platforms. As a result, it is important to ensure, 10 different platforms. As a result, it is important to ensure,
11 where possible, that packages in pkgsrc are portable. This 11 where possible, that packages in pkgsrc are portable. This
12 chapter mentions some particular details you should pay 12 chapter mentions some particular details you should pay
13 attention to while working on pkgsrc.</para> 13 attention to while working on pkgsrc.</para>
14 14
@@ -1673,27 +1673,26 @@ MESON_ARGS+= -Dx11=false @@ -1673,27 +1673,26 @@ MESON_ARGS+= -Dx11=false
1673Cygwin __CYGWIN__ 1673Cygwin __CYGWIN__
1674DragonFly __DragonFly__ 1674DragonFly __DragonFly__
1675FreeBSD __FreeBSD__ 1675FreeBSD __FreeBSD__
1676Haiku __HAIKU__ 1676Haiku __HAIKU__
1677Interix __INTERIX 1677Interix __INTERIX
1678IRIX __sgi (TODO: get a definite source for this) 1678IRIX __sgi (TODO: get a definite source for this)
1679Linux __linux 1679Linux __linux
1680Mac OS X __APPLE__ 1680Mac OS X __APPLE__
1681MirBSD __MirBSD__ (__OpenBSD__ is also defined) 1681MirBSD __MirBSD__ (__OpenBSD__ is also defined)
1682Minix3 __minix 1682Minix3 __minix
1683NetBSD __NetBSD__ 1683NetBSD __NetBSD__
1684OpenBSD __OpenBSD__ 1684OpenBSD __OpenBSD__
1685Solaris sun, __sun 1685Solaris sun, __sun
1686Unix(-like) __unix 
1687</programlisting> 1686</programlisting>
1688 1687
1689</sect3> 1688</sect3>
1690<sect3 id="fixes.build.cpp.arch"> 1689<sect3 id="fixes.build.cpp.arch">
1691<title>C preprocessor macros to identify the hardware architecture</title> 1690<title>C preprocessor macros to identify the hardware architecture</title>
1692 1691
1693<programlisting> 1692<programlisting>
1694i386 i386, __i386, __i386__ 1693i386 i386, __i386, __i386__
1695x86-64 __amd64__, __x86_64__ 1694x86-64 __amd64__, __x86_64__
1696ARM __arm__ 1695ARM __arm__
1697MIPS __mips 1696MIPS __mips
1698SPARC sparc, __sparc 1697SPARC sparc, __sparc
1699PowerPC __powerpc 1698PowerPC __powerpc