From 46e2d280a8b96526d83841b8d375247d15c47a75 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Fri, 11 Jan 2019 20:52:38 +0100 Subject: [PATCH] Print build time only in debug mode --- examples/pybullet/pybullet.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index b506fa183..9763d89e7 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -10738,7 +10738,9 @@ initpybullet(void) SpamError = PyErr_NewException("pybullet.error", NULL, NULL); Py_INCREF(SpamError); PyModule_AddObject(m, "error", SpamError); +#ifndef NDEBUG printf("pybullet build time: %s %s\n", __DATE__, __TIME__); +#endif Py_AtExit(b3pybulletExitFunc);