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
c7464720
Commit
c7464720
authored
May 04, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tas() support for Renesas' M32R processor. Kazuhiro Inaoka
parent
774de1d9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
+23
-4
configure
configure
+2
-1
configure.in
configure.in
+2
-2
src/include/pg_config.h.in
src/include/pg_config.h.in
+6
-0
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+13
-1
No files found.
configure
View file @
c7464720
...
...
@@ -7943,7 +7943,8 @@ done
for
ac_header
in
crypt.h dld.h fp_class.h getopt.h ieeefp.h langinfo.h poll.h pwd.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/time.h sys/un.h termios.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h
for
ac_header
in
crypt.h dld.h fp_class.h getopt.h ieeefp.h langinfo.h poll.h pwd.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/tas.h sys/time.h sys/un.h termios.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
if
eval
"test
\"\$
{
$as_ac_Header
+set}
\"
= set"
;
then
...
...
configure.in
View file @
c7464720
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.51
3 2007/04/21 18:26:44 petere
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.51
4 2007/05/04 15:20:52 tgl
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -794,7 +794,7 @@ fi
##
dnl sys/socket.h is required by AC_FUNC_ACCEPT_ARGTYPES
AC_CHECK_HEADERS([crypt.h dld.h fp_class.h getopt.h ieeefp.h langinfo.h poll.h pwd.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/time.h sys/un.h termios.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h])
AC_CHECK_HEADERS([crypt.h dld.h fp_class.h getopt.h ieeefp.h langinfo.h poll.h pwd.h sys/ipc.h sys/poll.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/socket.h sys/shm.h sys/t
as.h sys/t
ime.h sys/un.h termios.h utime.h wchar.h wctype.h kernel/OS.h kernel/image.h SupportDefs.h])
# At least on IRIX, cpp test for netinet/tcp.h will fail unless
# netinet/in.h is included first.
...
...
src/include/pg_config.h.in
View file @
c7464720
...
...
@@ -495,6 +495,9 @@
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/tas.h> header file. */
#undef HAVE_SYS_TAS_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
...
...
@@ -644,6 +647,9 @@
/* Define to 1 to build with XML support. (--with-libxml) */
#undef USE_LIBXML
/* Define to 1 to build with XSLT support. (--with-libxslt) */
#undef USE_LIBXSLT
/* Define to select named POSIX semaphores. */
#undef USE_NAMED_POSIX_SEMAPHORES
...
...
src/include/storage/s_lock.h
View file @
c7464720
...
...
@@ -66,7 +66,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.15
8 2007/01/05 22:19:58 momjian
Exp $
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.15
9 2007/05/04 15:20:52 tgl
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -556,6 +556,18 @@ do \
#endif
/* __mips__ && !__sgi */
#if defined(__m32r__) && defined(HAVE_SYS_TAS_H)
/* Renesas' M32R */
#define HAS_TEST_AND_SET
#include <sys/tas.h>
typedef
int
slock_t
;
#define TAS(lock) tas(lock)
#endif
/* __m32r__ */
/* These live in s_lock.c, but only for gcc */
...
...
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