-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomptime.cxx
27 lines (21 loc) · 1.04 KB
/
comptime.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//-< COMPTIME.CXX >--------------------------------------------------*--------*
// POST++ Version 1.0 (c) 1998 GARRET * ? *
// (Persistent Object Storage) * /\| *
// * / \ *
// Created: 2-Feb-98 K.A. Knizhnik * / [] \ *
// Last update: 2-Feb-98 K.A. Knizhnik * GARRET *
//-------------------------------------------------------------------*--------*
// Storing timestamp of program building. Always include this file (sources!)
// in the list of files in makefile rule for producing executables.
//-------------------------------------------------------------------*--------*
#include "stdtp.h"
BEGIN_POST_NAMESPACE
extern char* program_compilation_time;
class set_compilation_time {
public:
set_compilation_time() {
program_compilation_time = __DATE__ " " __TIME__;
}
};
static set_compilation_time timestamp;
END_POST_NAMESPACE