NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
xiaapi
inc
PlxDefCk.h
1
/*******************************************************************************
2
* Copyright (c) PLX Technology, Inc.
3
*
4
* PLX Technology Inc. licenses this source file under the GNU Lesser General Public
5
* License (LGPL) version 2. This source file may be modified or redistributed
6
* under the terms of the LGPL and without express permission from PLX Technology.
7
*
8
* PLX Technology, Inc. provides this software AS IS, WITHOUT ANY WARRANTY,
9
* EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF
10
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. PLX makes no guarantee
11
* or representations regarding the use of, or the results of the use of,
12
* the software and documentation in terms of correctness, accuracy,
13
* reliability, currentness, or otherwise; and you rely on the software,
14
* documentation and results solely at your own risk.
15
*
16
* IN NO EVENT SHALL PLX BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS,
17
* LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES
18
* OF ANY KIND.
19
*
20
******************************************************************************/
21
22
/******************************************************************************
23
*
24
* File Name:
25
*
26
* PlxDefCk.h
27
*
28
* Description:
29
*
30
* Verifies definitions required by the PLX API
31
*
32
* Revision:
33
*
34
* 05-01-12 : PLX SDK v7.00
35
*
36
******************************************************************************/
37
38
39
40
41
/**********************************************
42
* Automatic selection for Windows
43
**********************************************/
44
#if defined(_WIN32) || defined(_WIN64)
45
#if !defined(PLX_LITTLE_ENDIAN) && !defined(PLX_BIG_ENDIAN)
46
#define PLX_LITTLE_ENDIAN
47
#endif
48
49
#if defined(_WIN64)
50
#define PLX_CPU_BITS 64
51
#else
52
#define PLX_CPU_BITS 32
53
#endif
54
55
#define PLX_MSWINDOWS
56
#endif
57
58
59
#if defined(PLX_LINUX)
60
#if !defined(PLX_LITTLE_ENDIAN) && !defined(PLX_BIG_ENDIAN)
61
#define PLX_LITTLE_ENDIAN
62
#endif
63
#endif
64
65
66
67
/**********************************************
68
* Error Checks
69
**********************************************/
70
#if !defined(PLX_LITTLE_ENDIAN) && !defined(PLX_BIG_ENDIAN)
71
#error ERROR: Either PLX_LITTLE_ENDIAN or PLX_BIG_ENDIAN must be defined.
72
#endif
Generated on Tue Mar 31 2020 13:10:44 for NSCL DDAS by
1.8.8