Skip to content
Snippets Groups Projects
Select Git revision
  • next default protected
  • master protected
  • changelog-test
  • changelog-test2
  • magic
  • refactor-mem-get
  • freebsd-support
  • addfile++
  • uncappedrevengeance-master-alt
  • android-port-gme
  • lua-stack-revert-test
  • huge-opt-test
  • android-port-responsefile
  • better-lua-errors
  • deployer-224
  • android-port-prebuilt-libs
  • sdl-dragdrop
  • lua-gvar-stuff
  • sdlstuff
  • public-musicplus-libopenmpt
  • SRB2_assets_222
  • SRB2_assets_221
  • SRB2_release_2.1.24
23 results

comptime.c

Blame
  • Forked from STJr / SRB2
    4763 commits behind, 1 commit ahead of the upstream repository.
    comptime.c 547 B
    /*
     * Compiles date and time.
     *
     * Kalaron: Can't this be somewhere else instead of in an extra c file?
     * Alam: Code::Block, XCode and the Makefile touch this file to update
     *  the timestamp
     *
     */
    
    #if (defined(CMAKECONFIG))
    #include "config.h"
    const char *compbranch = SRB2_COMP_BRANCH;
    const char *comprevision = SRB2_COMP_REVISION;
    
    #elif (defined(COMPVERSION))
    #include "comptime.h"
    
    #else
    const char *compbranch = "Unknown";
    const char *comprevision = "illegal";
    
    #endif
    
    const char *compdate = __DATE__;
    const char *comptime = __TIME__;