diff src/graph_gui.cpp @ 5812:68b78a2427a5 draft

(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX describes the required value better anyway. However, INT64_MAX comes from stdint.h which doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
author maedhros <maedhros@openttd.org>
date Tue, 23 Jan 2007 15:47:28 +0000
parents 1fc48d5f47d5
children 8547517ef719
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -39,7 +39,7 @@
 };
 
 /* Apparently these don't play well with enums. */
-static const int64 INVALID_DATAPOINT     = LLONG_MAX; // Value used for a datapoint that shouldn't be drawn.
+static const int64 INVALID_DATAPOINT     = INT64_MAX; // Value used for a datapoint that shouldn't be drawn.
 static const uint  INVALID_DATAPOINT_POS = UINT_MAX;  // Used to determine if the previous point was drawn.
 
 typedef struct GraphDrawer {