/*-----------------------------------------------------------------------
* packihx.c:
*
- * utility to pack an Inter HEX format file by removing redundant
+ * utility to pack an Intel HEX format file by removing redundant
* extended offset records and accumulating data records up to
* OUTPUT_CHUNK (currently 16) bytes.
*
#include <ctype.h>
#include <assert.h>
+#if defined(_MSC_VER)
+
+typedef unsigned char Uint8 ;
+typedef unsigned Uint16 ;
+
+#else
+
#include "config.h"
+#endif
/* A cooked line of input. */
typedef struct _Line