Hi, I am working on SD card interfacing with PIC18F4520 using MPLAB X IDE with XC8 compiler. I want to add compiler.h file to remove some bug. Which is " itoa expected identifier"
I tried created some, but its showing error. Please guide me to make the header file.
Code:
#ifndef __COMPILER_H
#define __COMPILER_H
// Include proper device header file
#if defined(__18FXX) && !defined(_XC8_)
// PIC18 processor with Microchip C18 compiler
#define COMPILER_MPLAB_XC8
#include <p18F4520.h>
#else
#error Unknown processor or compiler. See Compiler.h
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>