Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
3a8ec880
Commit
3a8ec880
authored
Jan 27, 2009
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence compiler warnings in new win32 locale code
when building on mingw. ITAGAKI Takahiro
parent
5fe3da92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/backend/utils/adt/pg_locale.c
src/backend/utils/adt/pg_locale.c
+5
-5
No files found.
src/backend/utils/adt/pg_locale.c
View file @
3a8ec880
...
...
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 2002-2009, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.4
7 2009/01/21 12:45:06
mha Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/pg_locale.c,v 1.4
8 2009/01/27 12:45:09
mha Exp $
*
*-----------------------------------------------------------------------
*/
...
...
@@ -92,7 +92,7 @@ static char lc_monetary_envbuf[LC_ENV_BUFSIZE];
static
char
lc_numeric_envbuf
[
LC_ENV_BUFSIZE
];
static
char
lc_time_envbuf
[
LC_ENV_BUFSIZE
];
#if
def WIN32
#if
defined(WIN32) && defined(LC_MESSAGES)
static
char
*
IsoLocaleName
(
const
char
*
);
/* MSVC specific */
#endif
...
...
@@ -158,7 +158,7 @@ pg_perm_setlocale(int category, const char *locale)
#ifdef WIN32
result
=
IsoLocaleName
(
locale
);
if
(
result
==
NULL
)
result
=
locale
;
result
=
(
char
*
)
locale
;
#endif
/* WIN32 */
break
;
#endif
/* LC_MESSAGES */
...
...
@@ -601,7 +601,7 @@ cache_locale_time(void)
}
#if
def WIN32
#if
defined(WIN32) && defined(LC_MESSAGES)
/*
* Convert Windows locale name to the ISO formatted one
* if possible.
...
...
@@ -647,5 +647,5 @@ char *IsoLocaleName(const char *winlocname)
return
NULL
;
/* Not supported on this version of msvc/mingw */
#endif
/* _MSC_VER >= 1400 */
}
#endif
/* WIN32 */
#endif
/* WIN32
&& LC_MESSAGES
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment