view Defines/VMS_defs.h @ 248:da08f9717024

Moved VMS_defs__turn_on_and_off.h outside of VMS repo, into project repo
author Sean Halle <seanhalle@yahoo.com>
date Sat, 21 Jul 2012 15:20:40 -0700
parents
children 094ad1bdeaec 3740ac9cffee
line source
1 /*
2 * Copyright 2009 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * Author: seanhalle@yahoo.com
6 *
7 */
9 #ifndef _VMS_DEFS_MAIN_H
10 #define _VMS_DEFS_MAIN_H
11 #define _GNU_SOURCE
13 //=========================== VMS-wide defs ===============================
15 #define SUCCESS 0
17 //only after macro-expansion are the defs of writePrivQ, aso looked up
18 // so these defs can be at the top, and writePrivQ defined later on..
19 #define writeVMSQ writePrivQ
20 #define readVMSQ readPrivQ
21 #define makeVMSQ makePrivQ
22 #define numInVMSQ numInPrivQ
23 #define VMSQueueStruc PrivQueueStruc
26 /*The language should re-define this, but need a default in case it doesn't*/
27 #ifndef _LANG_NAME_
28 #define _LANG_NAME_ ""
29 #endif
31 //====================== Hardware Constants ============================
32 #include "VMS_defs__HW_constants.h"
34 //====================== Macros ======================
35 //for turning macros and other VMS features on and off
36 #include "VMS_defs__turn_on_and_off.h"
38 #include "../Services_Offered_by_VMS/Debugging/DEBUG__macros.h"
39 #include "../Services_Offered_by_VMS/Measurement_and_Stats/MEAS__macros.h"
41 //===========================================================================
42 #endif /* */