Chernov Dmitriy
2016-03-01 34d681a00a7fc3c8d82a5ba3082dd5524f2a8389
libscpi/inc/scpi/config.h
@@ -90,7 +90,7 @@
#endif
#ifndef USE_DEVICE_DEPENDENT_ERROR_INFORMATION
#define USE_DEVICE_DEPENDENT_ERROR_INFORMATION 1
#define USE_DEVICE_DEPENDENT_ERROR_INFORMATION 0
   #ifndef USE_MEMORY_ALLOCATION_FREE
   #define USE_MEMORY_ALLOCATION_FREE 1
   #endif
@@ -259,10 +259,10 @@
#endif
#if USE_DEVICE_DEPENDENT_ERROR_INFORMATION
   #if USE_MEMORY_ALLOCATION_FREE
      #include <stdlib.h>
      #include <string.h>
      #include <malloc.h>
      #define SCPIDEFINE_DESCRIPTION_MAX_PARTS   2
      #define SCPIDEFINE_strdup(h, s)            strdup((s))
      #define SCPIDEFINE_free(h, s, r)         free((s))