When compiling my FreeRTOS, my functions in string.c conflict with the built-in function 'tolower'

Hey guys When compiling my FreeRTOS, my functions in string.c conflict with the built-in function 'tolower'. Can I use a CFLAGS to resolve this error, and how can i do it?
Here's my code

makefile
all: my_rtos

my_rtos: main.o string.o
    gcc -o my_rtos main.o string.o
    
main.o: main.c
    gcc -c main.c

string.o: string.c
    gcc -c -Dmy_tolower=custom_tolower string.c


@Middleware & OS
Was this page helpful?