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
8d9cf794
Commit
8d9cf794
authored
Aug 24, 2006
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Needed more stuff from c.h.
parent
e8d1dcbf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
src/interfaces/ecpg/include/Makefile
src/interfaces/ecpg/include/Makefile
+2
-0
src/interfaces/ecpg/include/ecpg_config.h.in
src/interfaces/ecpg/include/ecpg_config.h.in
+3
-0
src/interfaces/ecpg/include/pgtypes_interval.h
src/interfaces/ecpg/include/pgtypes_interval.h
+27
-2
No files found.
src/interfaces/ecpg/include/Makefile
View file @
8d9cf794
...
...
@@ -7,6 +7,8 @@ override CPPFLAGS := -DFRONTEND -I$(top_srcdir)/src/interfaces/ecpg/include \
informix_esql_dir
=
$(pkgincludedir)
/informix/esql
all
:
$(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h
install
:
all installdirs install-headers
.PHONY
:
install-headers
...
...
src/interfaces/ecpg/include/ecpg_config.h.in
View file @
8d9cf794
/* Define to 1 if the system has the type `int64'. */
#undef HAVE_INT64
/* Define to 1 if `long int' works and is 64 bits. */
#undef HAVE_LONG_INT_64
...
...
src/interfaces/ecpg/include/pgtypes_interval.h
View file @
8d9cf794
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/pgtypes_interval.h,v 1.1
0 2006/08/23 12:01:52
meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/pgtypes_interval.h,v 1.1
1 2006/08/24 10:48:21
meskes Exp $ */
#ifndef PGTYPES_INTERVAL
#define PGTYPES_INTERVAL
#include <ecpg_config.h>
#if defined(USE_INTEGER_DATETIMES) && (defined(HAVE_LONG_INT_64) || defined(HAVE_LONG_LONG_INT_64))
#ifndef C_H
#ifdef HAVE_LONG_INT_64
#ifndef HAVE_INT64
typedef
long
int
int64
;
#endif
#elif defined(HAVE_LONG_LONG_INT_64)
/* We have working support for "long long int", use that */
#ifndef HAVE_INT64
typedef
long
long
int
int64
;
#endif
#else
/* not HAVE_LONG_INT_64 and not
* HAVE_LONG_LONG_INT_64 */
/* Won't actually work, but fall back to long int so that code compiles */
#ifndef HAVE_INT64
typedef
long
int
int64
;
#endif
#define INT64_IS_BUSTED
#endif
/* not HAVE_LONG_INT_64 and not HAVE_LONG_LONG_INT_64 */
#if defined(USE_INTEGER_DATETIMES) && !defined(INT64_IS_BUSTED)
#define HAVE_INT64_TIMESTAMP
#endif
#endif
/* C_H */
typedef
struct
{
#ifdef HAVE_INT64_TIMESTAMP
...
...
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