Skip to content

Commit 816fca9

Browse files
author
nitrocaster
committed
Don't deprecate standard C API.
1 parent 77167bb commit 816fca9

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/xrCore/_std_extensions.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ inline int __cdecl xr_sprintf(char(&destination)[count], LPCSTR format_string, .
273273
}
274274
#endif // #ifndef MASTER_GOLD
275275

276-
# pragma deprecated( strcpy, strcpy_s, sprintf, sprintf_s, strcat, strcat_s )
277-
278276
template <int count>
279277
inline int xr_strcpy(char(&destination)[count], LPCSTR source)
280278
{

src/xrCore/vector.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,4 @@ IC _quaternion<T>& _quaternion<T>::set(const _matrix<T>& M)
483483
return *this;
484484
}
485485

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

0 commit comments

Comments
 (0)