aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/utils.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-11-30 00:30:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-11-30 00:30:05 +0000
commit19740e2fff22e07244183ac0e888794e63016c89 (patch)
tree9ef2d1ac21dddc13fbaf11df658afa18be497f85 /src/include/regex/utils.h
parentb10a71977778e33538a4fa41a3eac79eda0534ec (diff)
downloadpostgresql-19740e2fff22e07244183ac0e888794e63016c89.tar.gz
postgresql-19740e2fff22e07244183ac0e888794e63016c89.zip
Portability fixes found needed for SunOS 4.1.x:
SunOS has tas(), but not memmove or strerror, and its sprintf() doesn't return int. Also, older versions of GNU Make don't like rules with empty left-hand sides...
Diffstat (limited to 'src/include/regex/utils.h')
-rw-r--r--src/include/regex/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/regex/utils.h b/src/include/regex/utils.h
index e6f169065fb..de36c6ffb56 100644
--- a/src/include/regex/utils.h
+++ b/src/include/regex/utils.h
@@ -58,6 +58,6 @@ typedef unsigned char uch;
#endif
/* for old systems with bcopy() but no memmove() */
-#if !defined(HAVE_MEMMOVE)
+#if !defined(HAVE_MEMMOVE) && !defined(memmove)
#define memmove(d, s, c) bcopy(s, d, c)
#endif