Hello, I am having trouble compiling a simple glut program. I get an error messege that tells me a certain function has been previously defined.

#ifndef APIENTRY
can someone help me out? Im not sure if I am linking Code::Blocks to the right files, or if I have two of the same or something like that.