Skip to content

Commit

Permalink
make rake clean better
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Dec 31, 2009
1 parent 496fed8 commit f549b3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,8 @@ task :clean do
system("make clean")
FileUtils.rm 'Makefile'
end
Dir.glob('*~') do |file|
FileUtils.rm file
end
end
end
18 changes: 0 additions & 18 deletions benchmarks/benchmark.rb~

This file was deleted.

2 changes: 1 addition & 1 deletion ext/ruby_prof.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ typedef rb_event_t rb_event_flag_t;

/* ================ Measurement =================*/
#ifdef HAVE_LONG_LONG
typedef unsigned LONG_LONG prof_measure_t;
typedef unsigned LONG_LONG prof_measure_t; // long long is 8 bytes on 32-bit
#else
typedef unsigned long prof_measure_t;
#endif
Expand Down

0 comments on commit f549b3b

Please sign in to comment.