3 build-prefix.h - build prefix header for building git
4 Copyright (C) 2014,2015 Kyle J. McKay. All rights reserved.
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #include <AvailabilityMacros.h>
23 #ifndef MAC_OS_X_VERSION_10_4
24 #define MAC_OS_X_VERSION_10_4 1040
26 #ifndef MAC_OS_X_VERSION_10_5
27 #define MAC_OS_X_VERSION_10_5 1050
31 #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
35 /* XDL_FAST_HASH has some extremely bad worst case performance issues */
36 /* See http://thread.gmane.org/gmane.comp.version-control.git/261638 */
37 /* #define XDL_FAST_HASH 1 */
42 #define _(s) gettext(s)
44 /* N_(x) MUST NOT have any parenthesis around expansion before v2.3.0! */
47 #define Q_(s,p,n) ngettext((s),(p),(n))
49 extern void git_setup_gettext(void);
50 extern const char *gettext(const char *msgid
);
51 extern const char *ngettext(const char *msgid
, const char *plu
, unsigned long n
);
52 extern int gettext_width(const char *s
);
53 const char *get_preferred_languages(void);