#pragma once
#ifndef __DEBUG_H__
#define __DEBUG_H__
#ifdef _DEBUG
void strcpy_debug(char* target, const char* source, int length, const char* file, int line);
#define safe_strcpy(target,source) strcpy_debug(target,source,sizeof(target),__FILE__,__LINE__)
#define strcpy safe_strcpy
#endif
#endif
