]> git.gag.com Git - fw/sdcc/blobdiff - debugger/mcs51/sdcdb.h
Eliminated the // on block comments from my last commit (JTV)
[fw/sdcc] / debugger / mcs51 / sdcdb.h
index 02f8be0be22e88560fa36435f66e5a69ada96046..b91ae279891474d7e5b8f610a9539883953a006b 100644 (file)
@@ -48,20 +48,23 @@ typedef short bool;
 #define min(a,b) (a < b ? a : b)
 #endif
 
-//#ifndef ALLOC
-//#define  ALLOC(x,sz) if (!(x = calloc(1, sz)))                          \
-//         {                                                           \
-//            fprintf(stderr,"sdcdb: out of memory\n"); \
-//            exit (1);                                                \
-//         }
-//#endif
-//#ifndef ALLOC_ATOMIC
-//#define ALLOC_ATOMIC(x,sz)   if (!(x = calloc(1, sz)))   \
-//         {                                               \
-//            fprintf(stderr,"sdcdb: out of memory\n"); \
-//            exit (1);                                    \
-//         }
-//#endif
+/* 
+ * #ifndef ALLOC
+ * #define  ALLOC(x,sz) if (!(x = calloc(1, sz)))                          \
+ *          {                                                           \
+ *             fprintf(stderr,"sdcdb: out of memory\n"); \
+ *             exit (1);                                                \
+ *          }
+ * #endif
+ * #ifndef ALLOC_ATOMIC
+ * #define ALLOC_ATOMIC(x,sz)   if (!(x = calloc(1, sz)))   \
+ *          {                                               \
+ *             fprintf(stderr,"sdcdb: out of memory\n"); \
+ *             exit (1);                                    \
+ *          }
+ * #endif
+ */
+
 /* generalpurpose stack related macros */
 #define  STACK_DCL(stack,type,size)                   \
          typedef  type  t_##stack   ;                 \