diff --git a/indra/newview/fslslpreproc.cpp b/indra/newview/fslslpreproc.cpp index 3637438a73..a774b17877 100644 --- a/indra/newview/fslslpreproc.cpp +++ b/indra/newview/fslslpreproc.cpp @@ -1347,6 +1347,8 @@ void FSLSLPreprocessor::start_process() ctx.add_macro_definition(def, false); def = llformat("__SHORTFILE__=\"%s\"", name.c_str()); ctx.add_macro_definition(def, false); + def = llformat("__UNIXTIME__=%i", (S32)time_corrected()); + ctx.add_macro_definition(def, false); ctx.add_macro_definition("list(...)=((list)(__VA_ARGS__))", false); ctx.add_macro_definition("float(...)=((float)(__VA_ARGS__))", false);