use "enum" to replace "#define"