1 /* 2 * version.h - version number for pdisk program 3 * 4 * Written by Eryk Vershen 5 */ 6 7 /* 8 * Copyright 1997 by Apple Computer, Inc. 9 * All Rights Reserved 10 * 11 * Permission to use, copy, modify, and distribute this software and 12 * its documentation for any purpose and without fee is hereby granted, 13 * provided that the above copyright notice appears in all copies and 14 * that both the copyright notice and this permission notice appear in 15 * supporting documentation. 16 * 17 * APPLE COMPUTER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 18 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 19 * FOR A PARTICULAR PURPOSE. 20 * 21 * IN NO EVENT SHALL APPLE COMPUTER BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 22 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 23 * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, 24 * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 25 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 26 */ 27 #ifndef __version__ 28 #define __version__ 29 30 31 /* 32 * Defines 33 */ 34 /* 35 * TO ADJUST THE VERSION - change the following six macros. 36 * 37 * A version is of the form: N.M{.X}{yZ} 38 * 39 * N is two digits indicating the major version 40 * M is a single digit indicating relative revision 41 * X is a single digit indicating a bug fix revision 42 * y is a character from the set [dab] indicating stage (dev,alpha,beta) 43 * Z is two digits indicating the delta within the stage 44 * 45 * Note that within the 'vers' resource all these fields end up 46 * comprising a four byte uint32_teger with the property that any later 47 * version will be be represented by a larger number. 48 */ 49 50 #define VERSION "0.8a2" 51 #define RELEASE_DATE "16 May 2000" 52 53 #define kVersionMajor 0x00 /* ie. N has two BCD digits */ 54 #define kVersionMinor 0x8 /* ie. M has a single BCD digit */ 55 #define kVersionBugFix 0x0 /* ie. X has a single BCD digit */ 56 #define kVersionStage alpha /* ie. y is one of the set - */ 57 /* {development,alpha,beta,final} 58 * also, release is a synonym for final 59 */ 60 #define kVersionDelta 0x02 /* ie. Z has two BCD digits */ 61 62 63 /* 64 * Types 65 */ 66 67 68 /* 69 * Global Constants 70 */ 71 72 73 /* 74 * Global Variables 75 */ 76 77 78 /* 79 * Forward declarations 80 */ 81 82 #endif /* __version__ */ 83