+/*
+* See the file LICENSE for redistribution information.
+*
+* Copyright: 2010- 1stclass.co.jp. All rights reserved.
+*
+* Created by Hajime Kurita
+*/
#include <stdio.h>
#include <string.h>
-#include "lib1stclass.h"
+#ifdef __cplusplus
+#include "1stclass.hpp"
+int firstclass::safe_strcat(char *dst, const char *append){
+#else
+#include "lib1stclass.h"
int safe_strcat(char *dst, const char *append){
+#endif
if( sizeof(append) >sizeof(dst) ){
printf("\"%s\" is too long for this system.\n", append);
return 1;