(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "countedptr.hpp"
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
int32 SimpleCountedObject::AddRef()
|
||||
{
|
||||
return ++m_ref_cnt;
|
||||
|
@@ -13,6 +13,8 @@
|
||||
#include "../rail_map.h"
|
||||
#include "dbg_helpers.h"
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/** Trackdir & TrackdirBits short names. */
|
||||
static const char * const trackdir_names[] = {
|
||||
"NE", "SE", "UE", "LE", "LS", "RS", "rne", "rse",
|
||||
|
@@ -12,6 +12,8 @@
|
||||
#include "../stdafx.h"
|
||||
#include "getoptdata.h"
|
||||
|
||||
#include "../safeguards.h"
|
||||
|
||||
/**
|
||||
* Find the next option.
|
||||
* @return Function returns one
|
||||
|
Reference in New Issue
Block a user