summaryrefslogtreecommitdiff
path: root/uconfig.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
commit2ef53570a0a9292278fc7d34d7d21270dd5ac7f0 (patch)
treea734560face300cd24b4d5d32a10c26803c187da /uconfig.h
parent524189f16184b7c26cd5c891db0a97b3ccc255cc (diff)
downloadperl-2ef53570a0a9292278fc7d34d7d21270dd5ac7f0.tar.gz
Configure tweaks; add prototype probes, make the cpp symbols
probe to cast, not whine; test for %Ld and %Lf before %lld and %llf because the L is the ANSI way. p4raw-id: //depot/perl@10434
Diffstat (limited to 'uconfig.h')
-rw-r--r--uconfig.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/uconfig.h b/uconfig.h
index 9eff6171fd..0c788f1237 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -3332,6 +3332,22 @@
#define PERL_XS_APIVERSION "5.005"
#define PERL_PM_APIVERSION "5.005"
+/* HAS_DBMINIT_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the dbminit() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int dbminit(char *);
+ */
+/*#define HAS_DBMINIT_PROTO / **/
+
+/* HAS_FLOCK_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the flock() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int flock(int, int);
+ */
+/*#define HAS_FLOCK_PROTO / **/
+
/* HAS_REALPATH:
* This symbol, if defined, indicates that the realpath routine is
* available to do resolve paths.
@@ -3351,6 +3367,14 @@
*/
/*#define HAS_SOCKATMARK / **/
+/* HAS_SOCKATMARK_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the sockatmark() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int sockatmark _((int));
+ */
+/*#define HAS_SOCKATMARK_PROTO / **/
+
/* HAS_SETRESGID_PROTO:
* This symbol, if defined, indicates that the system provides
* a prototype for the setresgid() function. Otherwise, it is up
@@ -3373,10 +3397,27 @@
*/
/*#define HAS_STRFTIME / **/
+/* HAS_SYSCALL_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the syscall() function. Otherwise, it is up
+ * to the program to supply one. Good guesses are
+ * extern int syscall(int, ...);
+ * extern int syscall(long, ...);
+ */
+/*#define HAS_SYSCALL_PROTO / **/
+
/* U32_ALIGNMENT_REQUIRED:
* This symbol, if defined, indicates that you must access
* character data through U32-aligned pointers.
*/
#define U32_ALIGNMENT_REQUIRED /**/
+/* HAS_USLEEP_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the usleep() function. Otherwise, it is up
+ * to the program to supply one. A good guess is
+ * extern int usleep(useconds_t);
+ */
+/*#define HAS_USLEEP_PROTO / **/
+
#endif