Files
mirror-processhacker/2.x/trunk/ProcessHacker/include/phappres.h
T
wj32 c18086748d * bump to 2.28
* ExtendedTools: fixed network graph scaling

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4967 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2012-02-21 00:16:10 +00:00

38 lines
1.1 KiB
C

// Notes:
// * Do not use /* comments */ since ISPP is buggy and it will throw an error.
//
// * ISPP_IS_BUGGY is defined in the installer script only and it's just a workaround
// for ISPP being buggy and throwing an error for the MAKE_STR macro.
#ifndef PHAPPRES_H
#define PHAPPRES_H
#include "phapprev.h"
#define PHAPP_VERSION_MAJOR 2
#define PHAPP_VERSION_MINOR 28
#define PHAPP_VERSION_BUILD 0
#if (PHAPP_VERSION_BUILD == 0)
#define TWO_DIGIT_VER 1
#else
#define THREE_DIGIT_VER 1
#endif
#define DO_MAKE_STR(x) #x
#define MAKE_STR(x) DO_MAKE_STR(x)
#ifndef ISPP_IS_BUGGY
#if defined(TWO_DIGIT_VER)
#define PHAPP_VERSION_STRING MAKE_STR(PHAPP_VERSION_MAJOR) "." MAKE_STR(PHAPP_VERSION_MINOR) ".0" "." MAKE_STR(PHAPP_VERSION_REVISION)
#elif defined(THREE_DIGIT_VER)
#define PHAPP_VERSION_STRING MAKE_STR(PHAPP_VERSION_MAJOR) "." MAKE_STR(PHAPP_VERSION_MINOR) "." MAKE_STR(PHAPP_VERSION_BUILD) "." MAKE_STR(PHAPP_VERSION_REVISION)
#endif
#define PHAPP_VERSION_NUMBER PHAPP_VERSION_MAJOR,PHAPP_VERSION_MINOR,PHAPP_VERSION_BUILD,PHAPP_VERSION_REVISION
#endif // ISPP_IS_BUGGY
#endif // PHAPPRES_H