Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(27)

Side by Side Diff: Modules/_localemodule.c

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Modules/_io/fileio.c ('k') | Modules/_math.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*********************************************************** 1 /***********************************************************
2 Copyright (C) 1997, 2002, 2003, 2007, 2008 Martin von Loewis 2 Copyright (C) 1997, 2002, 2003, 2007, 2008 Martin von Loewis
3 3
4 Permission to use, copy, modify, and distribute this software and its 4 Permission to use, copy, modify, and distribute this software and its
5 documentation for any purpose and without fee is hereby granted, 5 documentation for any purpose and without fee is hereby granted,
6 provided that the above copyright notice appear in all copies. 6 provided that the above copyright notice appear in all copies.
7 7
8 This software comes with no warranty. Use at your own risk. 8 This software comes with no warranty. Use at your own risk.
9 9
10 ******************************************************************/ 10 ******************************************************************/
11 11
12 #define PY_SSIZE_T_CLEAN 12 #define PY_SSIZE_T_CLEAN
13 #include "Python.h" 13 #include "Python.h"
14 #ifdef __MINGW32__
15 /* The header libintl.h and library libintl may exist on mingw host.
16 * To be compatible with MSVC build we has to undef some defines.
17 */
18 #undef HAVE_LIBINTL_H
19 #undef HAVE_BIND_TEXTDOMAIN_CODESET
20 #endif
14 21
15 #include <stdio.h> 22 #include <stdio.h>
16 #include <locale.h> 23 #include <locale.h>
17 #include <string.h> 24 #include <string.h>
18 #include <ctype.h> 25 #include <ctype.h>
19 26
20 #ifdef HAVE_ERRNO_H 27 #ifdef HAVE_ERRNO_H
21 #include <errno.h> 28 #include <errno.h>
22 #endif 29 #endif
23 30
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 #endif 679 #endif
673 return m; 680 return m;
674 } 681 }
675 682
676 /* 683 /*
677 Local variables: 684 Local variables:
678 c-basic-offset: 4 685 c-basic-offset: 4
679 indent-tabs-mode: nil 686 indent-tabs-mode: nil
680 End: 687 End:
681 */ 688 */
OLDNEW
« no previous file with comments | « Modules/_io/fileio.c ('k') | Modules/_math.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+