Skip to content

Commit

Permalink
Sort includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Dec 26, 2009
1 parent 7b4c4a9 commit af21296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extconf.rb
Expand Up @@ -173,7 +173,7 @@ def rule(target, clean = nil)
end
if !conversions.empty?
File.open("src/conversions.h", "w") do |conv|
conversions.each do |key, val|
conversions.sort.each do |key, val|
conv.puts "#include \"conversions/#{key}/conversions.h\""
subdirs << "src/conversions/#{key}"
end
Expand Down
4 changes: 2 additions & 2 deletions src/conversions.h
@@ -1,5 +1,5 @@
#include "conversions/network/conversions.h"
#include "conversions/geometry/conversions.h"
#include "conversions/basic/conversions.h"
#include "conversions/bitstring/conversions.h"
#include "conversions/datetime/conversions.h"
#include "conversions/geometry/conversions.h"
#include "conversions/network/conversions.h"

0 comments on commit af21296

Please sign in to comment.