try to make things work on 64 bit systems
src/pv/pv.h
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-branch-2-0/src/pv/pv.h new-branch-2-0/src/pv/pv.h
--- old-branch-2-0/src/pv/pv.h 2022-11-28 23:33:37.953181354 +0100
+++ new-branch-2-0/src/pv/pv.h 2022-11-28 23:33:37.953181354 +0100
@@ -13,7 +13,8 @@
#ifndef INCLpvh
#define INCLpvh
-#include "shareLib.h" /* reset share lib defines */
+#include "shareLib.h" /* reset share lib defines */
+#include "epicsTypes.h" /* for thread ids */
#include "epicsThread.h" /* for thread ids */
#include "epicsMutex.h" /* for locks */
#include "epicsTime.h" /* for time stamps */
@@ -60,12 +61,12 @@
/*
* Value-related types (c.f. db_access.h)
*/
-typedef char pvChar;
-typedef short pvShort;
-typedef long pvLong;
-typedef float pvFloat;
-typedef double pvDouble;
-typedef char pvString[256]; /* use sizeof( pvString ) */
+typedef epicsInt8 pvChar;
+typedef epicsInt16 pvShort;
+typedef epicsInt32 pvLong;
+typedef epicsFloat32 pvFloat;
+typedef epicsFloat64 pvDouble;
+typedef char pvString[256]; /* use sizeof( pvString ) */
#define PV_TIME_XXX(_type) \
typedef struct { \
patch 41656482809861d993607895eee0b410b4efda3d
Author: ben.franksen@online.de
Date: Wed Apr 6 20:59:29 CEST 2011
* try to make things work on 64 bit system