wyświetlanie #define values ​​w C

Mam serię #defines z nagłówka pliku biblioteki tego rodzaju:

typedef int Lib_error;   

#define   LIB_ERROR_A      ((Lib_error) 0x0000) 
#define   LIB_ERROR_D      ((Lib_error) 0x0100)                   
#define   LIB_ERROR_F      ((Lib_error) 0x0200)                      
#define   LIB_ERROR_K      ((Lib_error) 0x0300)                
#define   LIB_ERROR_O      ((Lib_error) 0x0400)                
#define   LIB_ERROR_P      ((Lib_error) 0x0500)
#define   LIB_ERROR_R      ((Lib_error) 0x0600) 
#define   LIB_ERROR_X      ((Lib_error) 0x0700)             
#define   LIB_ERROR_Y      ((Lib_error) 0x0800) 
#define   LIB_ERROR_M      ((Lib_error) 0x0900) 
 /* and so on */

Czy jest jakiś inny sposób, że mogę wydrukować te wartości, jeśli na przykład

uint MyError;
   /* printf("Error = %s",MyError); It should print the string LIB_ERROR_F instead of say 0x200 */

Mógłbym użyć dużo tego, jeśli jeszcze tego nie zrobiłem, ale zastanawiałem się, czy istnieje mądrzejszy sposób. Pamiętaj, że i tak nie mogę zmienić zawartości pliku nagłówkowego biblioteki.

questionAnswers(4)

yourAnswerToTheQuestion