Skip to content

Commit

Permalink
Don't deprecate standard C API.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 15, 2016
1 parent 77167bb commit 816fca9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/xrCore/_std_extensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@ inline int __cdecl xr_sprintf(char(&destination)[count], LPCSTR format_string, .
}
#endif // #ifndef MASTER_GOLD

# pragma deprecated( strcpy, strcpy_s, sprintf, sprintf_s, strcat, strcat_s )

template <int count>
inline int xr_strcpy(char(&destination)[count], LPCSTR source)
{
Expand Down
7 changes: 0 additions & 7 deletions src/xrCore/vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,4 @@ IC _quaternion<T>& _quaternion<T>::set(const _matrix<T>& M)
return *this;
}

//----------------------------------------------------------------------------------------------
// Deprecate some features
#ifndef XRCORE_EXPORTS
//. #pragma deprecated("MIN","MAX","ABS",fabs,fabsf,sqrt,sqrtf,malloc,free,calloc,realloc,memcpy,memmove,memset,strdup,strlen,strcmp,sin,cos,sinf,cosf)
#pragma deprecated("MIN","MAX","ABS",fabs,fabsf,sqrt,sqrtf,malloc,free,calloc,realloc,memmove,memset,strdup,strlen,strcmp,sin,cos,sinf,cosf)
#endif

#endif

0 comments on commit 816fca9

Please sign in to comment.