[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-commits
Subject: [Bacula-commits] SF.net SVN: bacula:[8392]
From: ricozz () users ! sourceforge ! net
Date: 2009-01-21 13:12:43
Message-ID: E1LPcst-0005Xx-P1 () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 8392
http://bacula.svn.sourceforge.net/bacula/?rev=8392&view=rev
Author: ricozz
Date: 2009-01-21 13:12:43 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
ebl Add detection of intptr_t and uintptr_t to configure process
Modified Paths:
--------------
trunk/bacula/src/bc_types.h
Modified: trunk/bacula/src/bc_types.h
===================================================================
--- trunk/bacula/src/bc_types.h 2009-01-21 13:12:21 UTC (rev 8391)
+++ trunk/bacula/src/bc_types.h 2009-01-21 13:12:43 UTC (rev 8392)
@@ -161,7 +161,32 @@
# endif
#endif
+#ifndef HAVE_INTPTR_T
+#define HAVE_INTPTR_T 1
+# if (SIZEOF_INT_P == 4)
+typedef int32_t intptr_t;
+# else
+# if (SIZEOF_INT_P == 8)
+typedef int64_t intptr_t;
+# else
+# error "Can't find sizeof pointer. Required!"
+# endif
+# endif
+#endif
+#ifndef HAVE_UINTPTR_T
+#define HAVE_UINTPTR_T 1
+# if (SIZEOF_INT_P == 4)
+typedef uint32_t uintptr_t;
+# else
+# if (SIZEOF_INT_P == 8)
+typedef uint64_t uintptr_t;
+# else
+# error "Can't find sizeof pointer. Required!"
+# endif
+# endif
+#endif
+
/* Limits for the above types. */
#undef INT8_MIN
#undef INT8_MAX
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic